From 38efaa65229eb1530dcbaa485f640a8d782221b0 Mon Sep 17 00:00:00 2001 From: Sam Olsen Date: Tue, 18 Apr 2023 12:33:51 -0700 Subject: [PATCH] PR feedback --- packages/app-check/src/internal-api.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/app-check/src/internal-api.test.ts b/packages/app-check/src/internal-api.test.ts index f99eeff430d..360ec3a026a 100644 --- a/packages/app-check/src/internal-api.test.ts +++ b/packages/app-check/src/internal-api.test.ts @@ -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, @@ -92,7 +91,6 @@ describe('internal api', () => { clearState(); removegreCAPTCHAScriptsOnPage(); return deleteApp(app); - sinon.restore(); }); // TODO: test error conditions describe('getToken()', () => { @@ -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');