File tree 2 files changed +5
-5
lines changed
packages/storage/test/unit
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import { Service } from '../../src/service';
26
26
import * as testShared from './testshared' ;
27
27
import { SendHook , TestingXhrIo } from './xhrio' ;
28
28
import { DEFAULT_HOST } from '../../src/implementation/constants' ;
29
- import { FirebaseAuthInternal } from '@firebase/auth-interop-types' ;
30
29
import { Provider } from '@firebase/component' ;
31
30
32
31
/* eslint-disable @typescript-eslint/no-floating-promises */
Original file line number Diff line number Diff line change @@ -62,10 +62,11 @@ export function makeFakeAuthProvider(
62
62
provider . setComponent (
63
63
new Component (
64
64
'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
+ } ,
69
70
ComponentType . PRIVATE
70
71
)
71
72
) ;
You can’t perform that action at this time.
0 commit comments