mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-31 07:00:26 +00:00
fix type
This commit is contained in:
@@ -17,7 +17,7 @@ test("that nothing is rendered when the modal is closed", () => {
|
||||
<p>This is the content.</p>
|
||||
</Modal>,
|
||||
);
|
||||
expect(queryByRole("dialog")).to.be.null();
|
||||
expect(queryByRole("dialog")).toBeNull();
|
||||
});
|
||||
|
||||
test("the content is rendered when the modal is open", () => {
|
||||
@@ -42,7 +42,7 @@ test("the modal can be closed by clicking the close button", () => {
|
||||
act(() => {
|
||||
getByLabelText("action.close").click();
|
||||
});
|
||||
expect(queryByRole("dialog")).to.be.null();
|
||||
expect(queryByRole("dialog")).toBeNull();
|
||||
});
|
||||
|
||||
const originalMatchMedia = window.matchMedia;
|
||||
|
||||
Reference in New Issue
Block a user