File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
packages-exp/auth-exp/src/platform_browser Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,7 @@ describe('platform_browser/popup_redirect', () => {
55
55
56
56
beforeEach ( async ( ) => {
57
57
auth = await testAuth ( ) ;
58
- resolver = new ( browserPopupRedirectResolver as SingletonInstantiator <
59
- PopupRedirectResolver
60
- > ) ( ) ;
58
+ resolver = new ( browserPopupRedirectResolver as SingletonInstantiator < PopupRedirectResolver > ) ( ) ;
61
59
62
60
sinon . stub ( validateOrigin , '_validateOrigin' ) . returns ( Promise . resolve ( ) ) ;
63
61
iframeSendStub = sinon . stub ( ) ;
@@ -75,11 +73,11 @@ describe('platform_browser/popup_redirect', () => {
75
73
} as unknown ) as gapi . iframes . Context )
76
74
) ;
77
75
78
- authWindow . _window ( ) . gapi = {
76
+ authWindow . _window ( ) . gapi = ( {
79
77
iframes : {
80
- CROSS_ORIGIN_IFRAMES_FILTER : 'cross-origin-iframes-filter' ,
78
+ CROSS_ORIGIN_IFRAMES_FILTER : 'cross-origin-iframes-filter'
81
79
}
82
- } as unknown as typeof gapi ;
80
+ } as unknown ) as typeof gapi ;
83
81
} ) ;
84
82
85
83
afterEach ( ( ) => {
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ describe('platform_browser/strategies/phone', () => {
421
421
let idToken : string ;
422
422
423
423
beforeEach ( ( ) => {
424
- idToken = makeJWT ( { exp : '200' , iat : '100' } ) ;
424
+ idToken = makeJWT ( { exp : '200' , iat : '100' } ) ;
425
425
reloadMock = mockEndpoint ( Endpoint . GET_ACCOUNT_INFO , {
426
426
users : [ { uid : 'uid' } ]
427
427
} ) ;
You can’t perform that action at this time.
0 commit comments