Skip to content

Commit 5e0d22b

Browse files
committed
Update test and description
1 parent 12d7e28 commit 5e0d22b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ describe('internal api', () => {
388388
expect(token).to.deep.equal({ token: fakeRecaptchaAppCheckToken.token });
389389
});
390390

391-
it('throttles exponentially on 503', async () => {
391+
it('throttles for a period less than 1d on 503', async () => {
392+
// More detailed check of exponential backoff in providers.test.ts
392393
const appCheck = initializeAppCheck(app, {
393394
provider: new ReCaptchaV3Provider(FAKE_SITE_KEY)
394395
});
@@ -412,6 +413,7 @@ describe('internal api', () => {
412413
// console.warn
413414
expect(token.error?.message).to.include('503');
414415
expect(token.error?.message).to.include('00m');
416+
expect(token.error?.message).to.not.include('1d');
415417
expect(warnStub.args[0][0]).to.include('503');
416418
});
417419

0 commit comments

Comments
 (0)