Skip to content

Commit dab0445

Browse files
committed
Figure out sketchy test
1 parent 8dd15b0 commit dab0445

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/app-check/src/internal-api.test.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ describe('internal api', () => {
4848
});
4949

5050
afterEach(() => {
51+
console.log('afterEach');
5152
clearState();
5253
removegreCAPTCHAScriptsOnPage();
5354
});
@@ -305,6 +306,9 @@ describe('internal api', () => {
305306
token: `fake-memory-app-check-token`
306307
});
307308
clock.restore();
309+
console.log(
310+
'done() in notifies the listener with the valid token in memory immediately'
311+
);
308312
done();
309313
};
310314

@@ -334,6 +338,9 @@ describe('internal api', () => {
334338
token: `fake-cached-app-check-token`
335339
});
336340
clock.restore();
341+
console.log(
342+
'done() in notifies the listener with the valid token in storage'
343+
);
337344
done();
338345
};
339346

@@ -346,6 +353,9 @@ describe('internal api', () => {
346353
expect(token).to.deep.equal({
347354
token: `my-debug-token`
348355
});
356+
console.log(
357+
'done() in notifies the listener with the debug token immediately'
358+
);
349359
done();
350360
};
351361

0 commit comments

Comments
 (0)