Skip to content

Commit

Permalink
fix: escape .'s in regex
Browse files Browse the repository at this point in the history
Co-authored-by: Naomi <nhcarrigan@gmail.com>
  • Loading branch information
ojeytonwilliams and Naomi committed May 3, 2024
1 parent 26561cf commit e106e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/link-ms-user.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test.describe('Link MS user component (signed-in user)', () => {
).toBeVisible();

await expect(page.locator('main')).toHaveText(
/The Microsoft account with username "certifieduser" is currently linked to your freeCodeCamp account. If this is not your Microsoft username, remove the link./
/The Microsoft account with username "certifieduser" is currently linked to your freeCodeCamp account\. If this is not your Microsoft username, remove the link\./
);
});

Expand Down

0 comments on commit e106e21

Please sign in to comment.