File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { HttpHeader } from '../';
25
25
import { testAuth , TestAuth } from '../../../test/helpers/mock_auth' ;
26
26
import * as fetch from '../../../test/helpers/mock_fetch' ;
27
27
import { ServerError } from '../errors' ;
28
- import { Endpoint , requestStsToken } from './token' ;
28
+ import { Path , requestStsToken } from './token' ;
29
29
import { SDK_VERSION } from '@firebase/app' ;
30
30
import { _getBrowserName } from '../../core/util/browser' ;
31
31
@@ -38,7 +38,7 @@ describe('requestStsToken', () => {
38
38
beforeEach ( async ( ) => {
39
39
auth = await testAuth ( ) ;
40
40
const { apiKey, tokenApiHost, apiScheme } = auth . config ;
41
- endpoint = `${ apiScheme } ://${ tokenApiHost } ${ Endpoint . TOKEN } ?key=${ apiKey } ` ;
41
+ endpoint = `${ apiScheme } ://${ tokenApiHost } ${ Path . TOKEN } ?key=${ apiKey } ` ;
42
42
fetch . setUp ( ) ;
43
43
} ) ;
44
44
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import { FirebaseError } from '@firebase/util';
23
23
24
24
import { testAuth , TestAuth } from '../../../test/helpers/mock_auth' ;
25
25
import * as fetch from '../../../test/helpers/mock_fetch' ;
26
- import { Endpoint } from '../../api/authentication/token' ;
26
+ import { Path } from '../../api/authentication/token' ;
27
27
import { IdTokenResponse } from '../../model/id_token' ;
28
28
import { StsTokenManager , Buffer } from './token_manager' ;
29
29
import { FinalizeMfaResponse } from '../../api/authentication/mfa' ;
@@ -103,7 +103,7 @@ describe('core/user/token_manager', () => {
103
103
let mock : fetch . Route ;
104
104
beforeEach ( ( ) => {
105
105
const { apiKey, tokenApiHost, apiScheme } = auth . config ;
106
- const endpoint = `${ apiScheme } ://${ tokenApiHost } ${ Endpoint . TOKEN } ?key=${ apiKey } ` ;
106
+ const endpoint = `${ apiScheme } ://${ tokenApiHost } ${ Path . TOKEN } ?key=${ apiKey } ` ;
107
107
mock = fetch . mock ( endpoint , {
108
108
'access_token' : 'new-access-token' ,
109
109
'refresh_token' : 'new-refresh-token' ,
You can’t perform that action at this time.
0 commit comments