File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import {
4141import { ServerError } from './errors' ;
4242import { SDK_VERSION } from '@firebase/app' ;
4343import { _getBrowserName } from '../core/util/browser' ;
44- import { connectAuthEmulator , FetchProvider } from '../../internal' ;
44+ import { FetchProvider } from '../../internal' ;
4545
4646use ( sinonChai ) ;
4747use ( chaiAsPromised ) ;
@@ -57,8 +57,6 @@ describe('api/_performApiRequest', () => {
5757
5858 let auth : TestAuth ;
5959
60- let fetchSpy : sinon . SinonSpy ;
61-
6260 beforeEach ( async ( ) => {
6361 auth = await testAuth ( ) ;
6462 } ) ;
@@ -68,10 +66,7 @@ describe('api/_performApiRequest', () => {
6866 } ) ;
6967
7068 context . only ( 'with regular requests' , ( ) => {
71- beforeEach ( ( ) => {
72- mockFetch . setUp ( ) ;
73- fetchSpy = sinon . spy ( FetchProvider . fetch ( ) ) ;
74- } ) ;
69+ beforeEach ( mockFetch . setUp ) ;
7570 afterEach ( mockFetch . tearDown ) ;
7671
7772 it ( 'should set the correct request, method and HTTP Headers' , async ( ) => {
You can’t perform that action at this time.
0 commit comments