File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,14 @@ async function main(sources: string[]) {
1919 const fixturesFromCmdline = process . env . FIXTURE ;
2020 if ( fixturesFromCmdline ) {
2121 const fixtureNames = fixturesFromCmdline . split ( "," ) ;
22- fixtures = fixtures . filter ( ( fixture ) =>
23- fixtureNames . some ( fixture . runForName ) ,
24- ) ;
22+ fixtures = fixtures . filter ( ( fixture ) => {
23+ console . log ( { fixture } ) ;
24+
25+ return fixtureNames . some ( ( name ) => {
26+ console . log ( { name } ) ;
27+ return fixture . runForName ( name ) ;
28+ } ) ;
29+ } ) ;
2530 }
2631
2732 if ( allFixtures . length !== fixtures . length ) {
@@ -70,7 +75,9 @@ async function main(sources: string[]) {
7075 } ,
7176
7277 map : async ( { sample, fixtureName } : WorkItem , index ) => {
73- const fixture = fixtures . find ( ( fixture ) => fixture . name === fixtureName ) ;
78+ const fixture = fixtures . find (
79+ ( fixture ) => fixture . name === fixtureName ,
80+ ) ;
7481
7582 try {
7683 await fixture ?. runWithSample ( sample , index , tests . length ) ;
You can’t perform that action at this time.
0 commit comments