Skip to content

Commit

Permalink
chore: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Noelle Daley committed Jun 25, 2024
1 parent 522dddb commit 3b57f9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/tests/integration/components/mfa-form-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
Expand Down

0 comments on commit 3b57f9c

Please sign in to comment.