Skip to content

Commit 9b1d77b

Browse files
Update setupTests.jsx
1 parent 2cc5f62 commit 9b1d77b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin-js/tests/setupTests.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ global.structuredClone = structuredClone.default;
2828
// To render full-width
2929
window.matchMedia = (query) => ({
3030
matches: true,
31-
addEventListener: () => {},
32-
removeEventListener: () => {}
31+
addListener: () => {},
32+
removeListener: () => {}
3333
});
3434

3535
// Ignore not implemented errors

0 commit comments

Comments
 (0)