@@ -234,6 +234,7 @@ describe('internal api', () => {
234
234
} ) ;
235
235
236
236
it ( 'returns the valid token in memory without making network request' , async ( ) => {
237
+ console . log ( 'start returns the valid' ) ;
237
238
const clock = useFakeTimers ( ) ;
238
239
activate ( app , FAKE_SITE_KEY ) ;
239
240
setState ( app , { ...getState ( app ) , token : fakeRecaptchaAppCheckToken } ) ;
@@ -245,9 +246,11 @@ describe('internal api', () => {
245
246
expect ( clientStub ) . to . not . have . been . called ;
246
247
247
248
clock . restore ( ) ;
249
+ console . log ( 'end returns the valid' ) ;
248
250
} ) ;
249
251
250
252
it ( 'force to get new token when forceRefresh is true' , async ( ) => {
253
+ console . log ( 'start force to get new token' ) ;
251
254
activate ( app , FAKE_SITE_KEY ) ;
252
255
setState ( app , { ...getState ( app ) , token : fakeRecaptchaAppCheckToken } ) ;
253
256
@@ -259,9 +262,11 @@ describe('internal api', () => {
259
262
expect ( await getToken ( app , true ) ) . to . deep . equal ( {
260
263
token : fakeRecaptchaAppCheckToken . token
261
264
} ) ;
265
+ console . log ( 'end force to get new token' ) ;
262
266
} ) ;
263
267
264
268
it ( 'exchanges debug token if in debug mode' , async ( ) => {
269
+ console . log ( 'start exchanges debug token' ) ;
265
270
const exchangeTokenStub : SinonStub = stub (
266
271
client ,
267
272
'exchangeToken'
@@ -277,6 +282,7 @@ describe('internal api', () => {
277
282
'my-debug-token'
278
283
) ;
279
284
expect ( token ) . to . deep . equal ( { token : fakeRecaptchaAppCheckToken . token } ) ;
285
+ console . log ( 'end exchanges debug token' ) ;
280
286
} ) ;
281
287
} ) ;
282
288
0 commit comments