@@ -36,19 +36,18 @@ function runTest(port: number, projectId: string, withPersistence: boolean) {
36
36
// ready in Firestore emulator.
37
37
// Use `prod` to allow test runner's env variable overrides to work.
38
38
if ( withPersistence ) {
39
- return Promise . all (
40
- [ spawn ( 'yarn' , [ 'test:node:persistence:prod' ] , options ) ,
41
- spawn ( 'yarn' , [ 'test:exp:persistence:prod' ] , options ) ,
42
- spawn ( 'yarn' , [ 'test:lite:prod' ] , options ) ]
43
- ) ;
39
+ return Promise . all ( [
40
+ spawn ( 'yarn' , [ 'test:node:persistence:prod' ] , options ) ,
41
+ spawn ( 'yarn' , [ 'test:exp:persistence:prod' ] , options ) ,
42
+ spawn ( 'yarn' , [ 'test:lite:prod' ] , options )
43
+ ] ) ;
44
44
} else {
45
- return Promise . all (
46
- [ spawn ( 'yarn' , [ 'test:node:prod' ] , options ) ,
47
- spawn ( 'yarn' , [ 'test:exp:prod' ] , options ) ,
48
- spawn ( 'yarn' , [ 'test:lite:prod' ] , options ) ]
49
- ) ;
45
+ return Promise . all ( [
46
+ spawn ( 'yarn' , [ 'test:node:prod' ] , options ) ,
47
+ spawn ( 'yarn' , [ 'test:exp:prod' ] , options ) ,
48
+ spawn ( 'yarn' , [ 'test:lite:prod' ] , options )
49
+ ] ) ;
50
50
}
51
- await spawn ( 'yarn' , [ 'test:lite:prod' ] , options ) ;
52
51
}
53
52
54
53
async function run ( ) : Promise < void > {
0 commit comments