fix, testing: i18n not properly configured

This commit is contained in:
Valere
2025-03-03 14:37:29 +01:00
parent 05e81a8143
commit 4c91326edb
12 changed files with 30 additions and 42 deletions

View File

@@ -20,10 +20,6 @@ test("StarRatingInput is accessible", async () => {
);
expect(await axe(container)).toHaveNoViolations();
// Change the rating to 4 stars
await user.click(
(
await screen.findAllByRole("radio", { name: "star_rating_input_label" })
)[3],
);
await user.click(await screen.findByLabelText("4 stars"));
expect(onChange).toBeCalledWith(4);
});