File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
code/addons/vitest/src/node Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ describe('TestManager', () => {
205
205
triggeredBy : 'global' ,
206
206
} ,
207
207
} ) ;
208
- expect ( setTestNamePattern ) . toHaveBeenCalledWith ( new RegExp ( `^One${ DOUBLE_SPACES } $ ` ) ) ;
208
+ expect ( setTestNamePattern ) . toHaveBeenCalledWith ( new RegExp ( `^One$` ) ) ;
209
209
expect ( vitest . runTestSpecifications ) . toHaveBeenCalledWith ( tests . slice ( 0 , 1 ) , true ) ;
210
210
} ) ;
211
211
@@ -221,7 +221,7 @@ describe('TestManager', () => {
221
221
} ,
222
222
} ) ;
223
223
// regex should be exact match of the story name
224
- expect ( setTestNamePattern ) . toHaveBeenCalledWith ( new RegExp ( `^One${ DOUBLE_SPACES } $ ` ) ) ;
224
+ expect ( setTestNamePattern ) . toHaveBeenCalledWith ( new RegExp ( `^One$` ) ) ;
225
225
} ) ;
226
226
227
227
it ( 'should trigger a single story test' , async ( ) => {
You can’t perform that action at this time.
0 commit comments