We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59e29a commit 1e0f98cCopy full SHA for 1e0f98c
integration/firestore/gulpfile.js
@@ -75,10 +75,10 @@ function copyTests() {
75
const firebaseExport = firebase.firestore;
76
77
// Abuse 'window' object to share a global variable between all tests
78
- window.appCount = window.appCount ? window.appCount : 0;
+ (window as any).appCount = (window as any).appCount || 0;
79
firebaseExport.newTestFirestore = function(projectId, nameOrApp, settings) {
80
if (nameOrApp === undefined) {
81
- nameOrApp = 'test-app-' + window.appCount++;
+ nameOrApp = 'test-app-' + (window as any).appCount++;
82
}
83
const app =
84
typeof nameOrApp === 'string'
0 commit comments