Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-gc committed Apr 18, 2023
1 parent 3bb9629 commit 38efaa6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/app-check/src/internal-api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import '../test/setup';
import { expect } from 'chai';
import { SinonStub, spy, stub, useFakeTimers } from 'sinon';
import * as sinon from 'sinon';
import { deleteApp, FirebaseApp } from '@firebase/app';
import {
FAKE_SITE_KEY,
Expand Down Expand Up @@ -92,7 +91,6 @@ describe('internal api', () => {
clearState();
removegreCAPTCHAScriptsOnPage();
return deleteApp(app);
sinon.restore();
});
// TODO: test error conditions
describe('getToken()', () => {
Expand Down Expand Up @@ -666,7 +664,7 @@ describe('internal api', () => {
});
});

describe('getToken() for limited use', () => {
describe('getLimitedUseToken()', () => {
it('uses customTokenProvider to get an AppCheck token', async () => {
const customTokenProvider = getFakeCustomTokenProvider();
const customProviderSpy = spy(customTokenProvider, 'getToken');
Expand Down

0 comments on commit 38efaa6

Please sign in to comment.