Skip to content

Commit 088b404

Browse files
Next round
1 parent a2bc97a commit 088b404

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/storage/test/unit/reference.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import { Service } from '../../src/service';
2626
import * as testShared from './testshared';
2727
import { SendHook, TestingXhrIo } from './xhrio';
2828
import { DEFAULT_HOST } from '../../src/implementation/constants';
29-
import { FirebaseAuthInternal } from '@firebase/auth-interop-types';
3029
import { Provider } from '@firebase/component';
3130

3231
/* eslint-disable @typescript-eslint/no-floating-promises */

packages/storage/test/unit/testshared.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ export function makeFakeAuthProvider(
6262
provider.setComponent(
6363
new Component(
6464
'auth-internal',
65-
(() => {
66-
getToken: () => Promise.resolve(token);
67-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
68-
}) as any,
65+
() => {
66+
return {
67+
getToken: () => Promise.resolve(token)
68+
} as any; // eslint-disable-line @typescript-eslint/no-explicit-any
69+
},
6970
ComponentType.PRIVATE
7071
)
7172
);

0 commit comments

Comments
 (0)