Skip to content

Commit 1e0f98c

Browse files
Test fix
1 parent d59e29a commit 1e0f98c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/firestore/gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ function copyTests() {
7575
const firebaseExport = firebase.firestore;
7676
7777
// Abuse 'window' object to share a global variable between all tests
78-
window.appCount = window.appCount ? window.appCount : 0;
78+
(window as any).appCount = (window as any).appCount || 0;
7979
firebaseExport.newTestFirestore = function(projectId, nameOrApp, settings) {
8080
if (nameOrApp === undefined) {
81-
nameOrApp = 'test-app-' + window.appCount++;
81+
nameOrApp = 'test-app-' + (window as any).appCount++;
8282
}
8383
const app =
8484
typeof nameOrApp === 'string'

0 commit comments

Comments
 (0)