Skip to content

Commit 401bc2e

Browse files
committed
run test:browser on all browser tests
1 parent cd95c9a commit 401bc2e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

config/karma.base.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const path = require('path');
2020
const webpackTestConfig = require('./webpack.test');
2121
const { argv } = require('yargs');
2222

23+
// FIXME: trigger all tests
24+
2325
function determineBrowsers() {
2426
const supportedBrowsers = ['ChromeHeadless', 'WebkitHeadless', 'Firefox'];
2527

scripts/run_tests_in_ci.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ const crossBrowserPackages = {
2727
'packages/auth': 'test:browser:unit',
2828
'packages/auth-compat': 'test:browser:unit',
2929
'packages/firestore': 'test:browser:unit',
30-
'packages/firestore-compat': 'test:browser'
30+
'packages/firestore-compat': 'test:browser',
31+
'packages/storage': 'test:browser:unit',
32+
'packages/storage-compat': 'test:browser:unit'
3133
};
3234

3335
function writeLogs(status, name, logText) {
@@ -67,6 +69,8 @@ const argv = yargs.options({
6769
for (const package in crossBrowserPackages) {
6870
if (dir.endsWith(package)) {
6971
scriptName = crossBrowserPackages[package];
72+
} else {
73+
scriptName = "test:browser"
7074
}
7175
}
7276
}

0 commit comments

Comments
 (0)