@@ -39,10 +39,10 @@ describe('core/auth/emulator', () => {
3939 let user : UserInternal ;
4040 let normalEndpoint : fetch . Route ;
4141 let emulatorEndpoint : fetch . Route ;
42- let testStub : sinon . SinonStub ;
42+ let utilStub : sinon . SinonStub ;
4343
4444 beforeEach ( async ( ) => {
45- testStub = sinon . stub ( Util , 'pingServer' ) ;
45+ utilStub = sinon . stub ( Util , 'pingServer' ) ;
4646 auth = await testAuth ( ) ;
4747 user = testUser ( _castAuth ( auth ) , 'uid' , 'email' , true ) ;
4848 fetch . setUp ( ) ;
@@ -159,14 +159,14 @@ describe('core/auth/emulator', () => {
159159 } ) ;
160160 it ( 'calls pingServer with port if specified' , ( ) => {
161161 connectAuthEmulator ( auth , 'https://abc.cloudworkstations.dev:2020' ) ;
162- expect ( testStub ) . to . have . been . calledWith (
162+ expect ( utilStub ) . to . have . been . calledWith (
163163 'https://abc.cloudworkstations.dev:2020'
164164 ) ;
165165 } ) ;
166166
167167 it ( 'calls pingServer with no port if none specified' , ( ) => {
168168 connectAuthEmulator ( auth , 'https://abc.cloudworkstations.dev' ) ;
169- expect ( testStub ) . to . have . been . calledWith (
169+ expect ( utilStub ) . to . have . been . calledWith (
170170 'https://abc.cloudworkstations.dev'
171171 ) ;
172172 } ) ;
0 commit comments