From 3b57f9cc182bf9978d4e9b96affdac16e72308de Mon Sep 17 00:00:00 2001 From: Noelle Daley Date: Tue, 25 Jun 2024 16:27:26 -0700 Subject: [PATCH] chore: add comments --- ui/tests/integration/components/mfa-form-test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/tests/integration/components/mfa-form-test.js b/ui/tests/integration/components/mfa-form-test.js index 9877f0753fca..cc32103fd7c3 100644 --- a/ui/tests/integration/components/mfa-form-test.js +++ b/ui/tests/integration/components/mfa-form-test.js @@ -178,8 +178,7 @@ module('Integration | Component | mfa-form', function (hooks) { test('it should show countdown on passcode already used and rate limit errors', async function (assert) { const messages = { used: 'code already used; new code is available in 30 seconds', - // there an intentional typo in the error message (30s seconds) - // that is what the backend returns + // note: the backend returns a duplicate "s" in "30s seconds" in the limit message below. we have intentionally left it as is to ensure our regex for parsing the delay time can handle it limit: 'maximum TOTP validation attempts 4 exceeded the allowed attempts 3. Please try again in 30s seconds', };