Skip to content

Commit 7ca7f4e

Browse files
Remove no-android from Bundle tests (#4313)
Also fix generate_spec_json.sh
1 parent 4986a3e commit 7ca7f4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/firestore/test/unit/generate_spec_json.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ set -o errexit
2121

2222
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2323
NPM_BIN_DIR="$(npm bin)"
24-
TSNODE="$NPM_BIN_DIR/ts-node"
24+
TSNODE="$NPM_BIN_DIR/ts-node "
2525
GENERATE_SPEC_JS="$DIR/generate_spec_json.js"
2626

2727
export TS_NODE_CACHE=NO
2828
export TS_NODE_COMPILER_OPTIONS='{"module":"commonjs"}'
2929
export TS_NODE_PROJECT="$DIR/../../tsconfig.json"
3030

31-
$TSNODE $GENERATE_SPEC_JS "$@"
31+
$TSNODE --require ../../index.node.ts $GENERATE_SPEC_JS "$@"

packages/firestore/test/unit/specs/bundle_spec.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function bundleWithDocumentAndQuery(
8585
);
8686
}
8787

88-
describeSpec('Bundles:', ['no-ios', 'no-android'], () => {
88+
describeSpec('Bundles:', ['no-ios'], () => {
8989
specTest('Newer docs from bundles should overwrite cache', [], () => {
9090
const query1 = query('collection');
9191
const docA = doc('collection/a', 1000, { value: 'a' });

0 commit comments

Comments
 (0)