We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20be8c1 commit d143f1dCopy full SHA for d143f1d
client/apollo/react/src/Modal/__tests__/Modal.test.tsx
@@ -37,15 +37,15 @@ const expectModalOpened = async () => {
37
await waitFor(() => {
38
expect(defaultProps.onCancel).not.toHaveBeenCalled();
39
});
40
- expect(dialog).toHaveAttribute("open", "true");
+ expect(dialog).toHaveAttribute("open", "");
41
};
42
43
const expectModalClosed = async () => {
44
const dialog = getDialog();
45
46
expect(defaultProps.onCancel).toHaveBeenCalled();
47
48
- expect(dialog).toHaveAttribute("open", undefined);
+ expect(dialog).toHaveAttribute("open", null);
49
50
51
describe("Modal", () => {
0 commit comments