@@ -39,10 +39,10 @@ describe('core/auth/emulator', () => {
39
39
let user : UserInternal ;
40
40
let normalEndpoint : fetch . Route ;
41
41
let emulatorEndpoint : fetch . Route ;
42
- let testStub : sinon . SinonStub ;
42
+ let utilStub : sinon . SinonStub ;
43
43
44
44
beforeEach ( async ( ) => {
45
- testStub = sinon . stub ( Util , 'pingServer' ) ;
45
+ utilStub = sinon . stub ( Util , 'pingServer' ) ;
46
46
auth = await testAuth ( ) ;
47
47
user = testUser ( _castAuth ( auth ) , 'uid' , 'email' , true ) ;
48
48
fetch . setUp ( ) ;
@@ -159,14 +159,14 @@ describe('core/auth/emulator', () => {
159
159
} ) ;
160
160
it ( 'calls pingServer with port if specified' , ( ) => {
161
161
connectAuthEmulator ( auth , 'https://abc.cloudworkstations.dev:2020' ) ;
162
- expect ( testStub ) . to . have . been . calledWith (
162
+ expect ( utilStub ) . to . have . been . calledWith (
163
163
'https://abc.cloudworkstations.dev:2020'
164
164
) ;
165
165
} ) ;
166
166
167
167
it ( 'calls pingServer with no port if none specified' , ( ) => {
168
168
connectAuthEmulator ( auth , 'https://abc.cloudworkstations.dev' ) ;
169
- expect ( testStub ) . to . have . been . calledWith (
169
+ expect ( utilStub ) . to . have . been . calledWith (
170
170
'https://abc.cloudworkstations.dev'
171
171
) ;
172
172
} ) ;
0 commit comments