@@ -36,9 +36,10 @@ const { configFiles } = yargs
36
36
// runNextTest() pulls filenames one-by-one from this queue.
37
37
const testFiles = configFiles . length
38
38
? configFiles
39
- : glob . sync ( `{packages,integration}/*/karma.conf.js` ) ;
40
- // Automated tests in integration/firestore are currently disabled.
41
- // .filter(name => !name.includes('integration/firestore'));
39
+ : glob
40
+ . sync ( `{packages,integration}/*/karma.conf.js` )
41
+ // Automated tests in integration/firestore are currently disabled.
42
+ . filter ( name => ! name . includes ( 'integration/firestore' ) ) ;
42
43
43
44
// Get CI build number or generate one if running locally.
44
45
const buildNumber =
@@ -65,20 +66,6 @@ async function runTest(testFile) {
65
66
} ) ;
66
67
}
67
68
}
68
- if ( testFile . includes ( 'integration/firestore' ) ) {
69
- console . log ( 'Generating memory build.' ) ;
70
- await spawn ( 'yarn' , [ '--cwd' , 'integration/firestore' , 'build:memory' ] , {
71
- stdio : 'inherit'
72
- } ) ;
73
- console . log ( 'Running tests on memory build.' ) ;
74
- const exitCode1 = await runKarma ( testFile ) ;
75
- // console.log('Generating persistence build.');
76
- // await spawn('yarn', ['--cwd', 'integration/firestore', 'build:persistence'], { stdio: 'inherit' });
77
- // console.log('Running tests on persistence build.');
78
- // const exitCode2 = await runKarma(testFile);
79
- // return Math.max(exitCode1, exitCode2);
80
- return exitCode1 ;
81
- }
82
69
return runKarma ( testFile ) ;
83
70
}
84
71
0 commit comments