We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d7e28 commit 5e0d22bCopy full SHA for 5e0d22b
packages/app-check/src/internal-api.test.ts
@@ -388,7 +388,8 @@ describe('internal api', () => {
388
expect(token).to.deep.equal({ token: fakeRecaptchaAppCheckToken.token });
389
});
390
391
- it('throttles exponentially on 503', async () => {
+ it('throttles for a period less than 1d on 503', async () => {
392
+ // More detailed check of exponential backoff in providers.test.ts
393
const appCheck = initializeAppCheck(app, {
394
provider: new ReCaptchaV3Provider(FAKE_SITE_KEY)
395
@@ -412,6 +413,7 @@ describe('internal api', () => {
412
413
// console.warn
414
expect(token.error?.message).to.include('503');
415
expect(token.error?.message).to.include('00m');
416
+ expect(token.error?.message).to.not.include('1d');
417
expect(warnStub.args[0][0]).to.include('503');
418
419
0 commit comments