Skip to content

Commit 3c6a22f

Browse files
committed
Fix tests
1 parent 56dc53f commit 3c6a22f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages-exp/auth-exp/src/core/user/user_impl.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
import { expect, use } from 'chai';
1919
import * as chaiAsPromised from 'chai-as-promised';
2020
import { UserImpl } from './user_impl';
21-
import { mockAuth } from '../../../test/mock_auth';
2221
import { StsTokenManager } from './token_manager';
2322
import { IdTokenResponse } from '../../model/id_token';
23+
import { mockAuth } from '../../../test/mock_auth';
2424

2525
use(chaiAsPromised);
2626

2727
describe('core/user/user_impl', () => {
28-
const auth = mockAuth('foo', 'i-am-the-api-key');
28+
const auth = mockAuth;
2929
let stsTokenManager: StsTokenManager;
3030

3131
beforeEach(() => {

packages-exp/auth-exp/test/api/helper.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
import { Auth } from '../../src/model/auth';
1918
import { Endpoint } from '../../src/api';
2019
import { mock, Route } from '../mock_fetch';
2120
import { TEST_SCHEME, TEST_HOST, TEST_KEY } from '../mock_auth';

0 commit comments

Comments
 (0)