fix, testing: i18n not properly configured
This commit is contained in:
1 parent
05e81a8143
commit
4c91326edb
12 files changed
+30
-42
No files matched your search
+1
-1
@@ -46,7 +46,7 @@ test("the modal can be closed by clicking the close button", async () => {
|
||||
}
|
||||
const user = userEvent.setup();
|
||||
const { queryByRole, getByRole } = render(<ModalFn />);
|
||||
await user.click(getByRole("button", { name: "action.close" }));
|
||||
await user.click(getByRole("button", { name: "Close" }));
|
||||
expect(queryByRole("dialog")).toBeNull();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user