Skip to content

Commit 4d34bfa

Browse files
committed
chore: fix comment
1 parent 4896a77 commit 4d34bfa

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

tests/automation/message_checks.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ messageLengthTestCases.forEach((testCase) => {
348348
aliceWindow1,
349349
englishStrippedStr('modalMessageTooLongTitle').toString(),
350350
englishStrippedStr('modalMessageTooLongDescription')
351-
.withArgs({ limit: maxChars.toLocaleString('en-AU') }) // With .toString() the test expects "2000" not "2,000"
351+
.withArgs({ limit: maxChars.toLocaleString('en-AU') }) // Force "2,000" instead of "2000"
352352
.toString(),
353353
);
354354
await clickOn(aliceWindow1, Global.confirmButton);

tests/automation/message_requests.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ test_Alice_1W_Bob_1W(
240240
'account-id',
241241
);
242242
expect(elText).toMatch(/^15/);
243-
const messageButton = aliceWindow1.getByTestId(HomeScreen.newMessageAccountIDInput.selector)
243+
const messageButton = aliceWindow1.getByTestId(
244+
HomeScreen.newMessageAccountIDInput.selector,
245+
);
244246
await expect(messageButton).toHaveClass(/disabled/);
245247
},
246248
);

0 commit comments

Comments
 (0)