File tree Expand file tree Collapse file tree 4 files changed +339
-219
lines changed
test/shared-workers/workers-are-loaded-once/fixtures Expand file tree Collapse file tree 4 files changed +339
-219
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import process from 'node:process';
22import { pathToFileURL } from 'node:url' ;
33
44import Emittery from 'emittery' ;
5- import matcher from 'matcher' ;
5+ import { matcher } from 'matcher' ;
66
77import ContextRef from './context-ref.js' ;
88import createChain from './create-chain.js' ;
@@ -110,7 +110,7 @@ export default class Runner extends Emittery {
110110 }
111111
112112 // --match selects TODO tests.
113- if ( this . match . length > 0 && matcher ( [ title . value ] , this . match ) . length === 1 ) {
113+ if ( this . match . length > 0 && matcher ( title . value , this . match ) . length === 1 ) {
114114 metadata . exclusive = true ;
115115 this . runOnlyExclusive = true ;
116116 }
@@ -160,7 +160,7 @@ export default class Runner extends Emittery {
160160 if ( metadata . type === 'test' ) {
161161 if ( this . match . length > 0 ) {
162162 // --match overrides .only()
163- task . metadata . exclusive = matcher ( [ title . value ] , this . match ) . length === 1 ;
163+ task . metadata . exclusive = matcher ( title . value , this . match ) . length === 1 ;
164164 }
165165
166166 if ( task . metadata . exclusive ) {
You can’t perform that action at this time.
0 commit comments