Skip to content

Commit 758300d

Browse files
committed
get tests pass
1 parent b2bf4f3 commit 758300d

File tree

3 files changed

+3
-147
lines changed

3 files changed

+3
-147
lines changed

packages-exp/app-compat/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
1717
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
1818
"build": "rollup -c",
19+
"build:deps": "lerna run --scope @firebase/app-compat --include-dependencies build",
1920
"dev": "rollup -c -w",
2021
"test": "yarn type-check && run-p lint test:browser test:node",
2122
"type-check": "tsc -p . --noEmit",
2223
"test:browser": "karma start --single-run",
2324
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
24-
"test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* src/**/*.test.ts --opts ../../config/mocha.node.opts",
25+
"test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* src/**/*.test.ts --config ../../config/mocharc.node.js",
2526
"prepare": "yarn build"
2627
},
2728
"license": "Apache-2.0",

packages-exp/app-compat/src/firebaseApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ export class FirebaseAppImpl implements FirebaseApp {
118118
name: string,
119119
instanceIdentifier: string = _DEFAULT_ENTRY_NAME
120120
): void {
121-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
122121
this.app.container
122+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
123123
.getProvider(name as any)
124124
.clearInstance(instanceIdentifier);
125125
}

packages-exp/app-compat/test/platformLogger.test.ts

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)