File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { expect } from 'chai' ;
19
- import { AUTH_ERROR_FACTORY , AuthErrorCode } from './errors' ;
19
+ import { AuthErrorCode , AUTH_ERROR_FACTORY } from './errors' ;
20
20
21
21
describe ( 'AUTH_ERROR_FACTORY' , ( ) => {
22
22
it ( 'should create an Auth namespaced FirebaseError' , ( ) => {
Original file line number Diff line number Diff line change 17
17
18
18
import { expect , use } from 'chai' ;
19
19
import * as chaiAsPromised from 'chai-as-promised' ;
20
- import { UserImpl } from './user_impl' ;
21
- import { StsTokenManager } from './token_manager' ;
22
- import { IdTokenResponse } from '../../model/id_token' ;
23
20
import { mockAuth } from '../../../test/mock_auth' ;
21
+ import { IdTokenResponse } from '../../model/id_token' ;
22
+ import { StsTokenManager } from './token_manager' ;
23
+ import { UserImpl } from './user_impl' ;
24
24
25
25
use ( chaiAsPromised ) ;
26
26
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- import { User } from '../../model/user' ;
19
18
import { Auth } from '../../model/auth' ;
20
19
import { IdTokenResult } from '../../model/id_token' ;
20
+ import { User } from '../../model/user' ;
21
21
import { ProviderId } from '../providers' ;
22
22
import { StsTokenManager } from './token_manager' ;
23
23
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- import { IdTokenResult } from './id_token' ;
19
18
import { ProviderId } from '../core/providers' ;
19
+ import { IdTokenResult } from './id_token' ;
20
20
21
21
export interface UserInfo {
22
22
readonly uid : string ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { Endpoint } from '../../src/api' ;
19
+ import { TEST_HOST , TEST_KEY , TEST_SCHEME } from '../mock_auth' ;
19
20
import { mock , Route } from '../mock_fetch' ;
20
- import { TEST_SCHEME , TEST_HOST , TEST_KEY } from '../mock_auth' ;
21
21
22
22
export function mockEndpoint (
23
23
endpoint : Endpoint ,
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
+ import { StsTokenManager } from '../src/core/user/token_manager' ;
19
+ import { UserImpl } from '../src/core/user/user_impl' ;
18
20
import { Auth } from '../src/model/auth' ;
19
21
import { User } from '../src/model/user' ;
20
- import { UserImpl } from '../src/core/user/user_impl' ;
21
- import { StsTokenManager } from '../src/core/user/token_manager' ;
22
22
23
23
export const TEST_HOST = 'localhost' ;
24
24
export const TEST_SCHEME = 'mock' ;
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- import { stub , SinonStub } from 'sinon' ;
18
+ import { SinonStub , stub } from 'sinon' ;
19
19
20
20
export interface Call {
21
21
request ?: object ;
You can’t perform that action at this time.
0 commit comments