@@ -192,25 +192,25 @@ exports.run = async () => { // eslint-disable-line complexity
192192 const match = arrify ( conf . match ) ;
193193 const resolveTestsFrom = cli . input . length === 0 ? projectDir : process . cwd ( ) ;
194194 const api = new Api ( {
195- failFast : conf . failFast ,
196- failWithoutAssertions : conf . failWithoutAssertions !== false ,
197- serial : conf . serial ,
198- require : arrify ( conf . require ) ,
195+ babelConfig,
199196 cacheEnabled : conf . cache !== false ,
197+ color : conf . color ,
200198 compileEnhancements : conf . compileEnhancements !== false ,
199+ concurrency : conf . concurrency ? parseInt ( conf . concurrency , 10 ) : 0 ,
201200 extensions,
201+ failFast : conf . failFast ,
202+ failWithoutAssertions : conf . failWithoutAssertions !== false ,
202203 match,
203- babelConfig,
204- resolveTestsFrom,
204+ parallelRuns,
205205 projectDir,
206+ ranFromCli : true ,
207+ require : arrify ( conf . require ) ,
208+ resolveTestsFrom,
209+ serial : conf . serial ,
210+ snapshotDir : conf . snapshotDir ? path . resolve ( projectDir , conf . snapshotDir ) : null ,
206211 timeout : conf . timeout ,
207- concurrency : conf . concurrency ? parseInt ( conf . concurrency , 10 ) : 0 ,
208212 updateSnapshots : conf . updateSnapshots ,
209- snapshotDir : conf . snapshotDir ? path . resolve ( projectDir , conf . snapshotDir ) : null ,
210- color : conf . color ,
211- workerArgv : cli . flags [ '--' ] ,
212- parallelRuns,
213- ranFromCli : true
213+ workerArgv : cli . flags [ '--' ]
214214 } ) ;
215215
216216 let reporter ;
0 commit comments