Skip to content

Commit ec04fce

Browse files
committed
Add type in unit test
1 parent 29a9125 commit ec04fce

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/auth/src/core/auth/firebase_internal.test.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,12 @@ describe('core/auth/firebase_internal - Regional Firebase Auth', () => {
334334
beforeEach(async () => {
335335
isProactiveRefresh = false;
336336

337-
sinon.stub(regionalAuth, '_startProactiveRefresh').callsFake(() => {
338-
isProactiveRefresh = true;
339-
});
340-
sinon.stub(regionalAuth, '_stopProactiveRefresh').callsFake(() => {
337+
sinon
338+
.stub(regionalAuth as any, '_startProactiveRefresh')
339+
.callsFake(() => {
340+
isProactiveRefresh = true;
341+
});
342+
sinon.stub(regionalAuth as any, '_stopProactiveRefresh').callsFake(() => {
341343
isProactiveRefresh = false;
342344
});
343345
await regionalAuth._updateFirebaseToken({

0 commit comments

Comments
 (0)