File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ export async function buildForTests(
27
27
) {
28
28
try {
29
29
if ( testTasks . length === 0 ) {
30
- chalk `{green No test tasks. Skipping all tests }` ;
30
+ console . log ( chalk `{green No test tasks. Skipping all builds }` ) ;
31
+ return ;
31
32
}
32
33
33
34
// hack to build Firestore which depends on @firebase /app-exp (because of firestore exp),
Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ const specialPaths = {
79
79
] ,
80
80
'scripts/emulator-testing/firestore-test-runner.ts' : [ '@firebase/firestore' ] ,
81
81
'scripts/emulator-testing/database-test-runner.ts' : [ '@firebase/database' ] ,
82
- 'packages/firestore' : [ 'firebase-firestore-integration-test' ]
82
+ 'packages/firestore' : [ 'firebase-firestore-integration-test' ] ,
83
+ 'packages/messaging' : [ 'firebase-messaging-integration-test' ]
83
84
} ;
84
85
85
86
/**
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const includeOnlyPackages = ['firebase-messaging-integration-test'];
23
23
async function run ( ) {
24
24
let testTasks = await getTestTasks ( ) ;
25
25
testTasks = testTasks . filter ( t => includeOnlyPackages . includes ( t . pkgName ) ) ;
26
+
26
27
await buildForTests ( testTasks ) ;
27
28
runTests ( testTasks ) ;
28
29
}
You can’t perform that action at this time.
0 commit comments