Skip to content

Commit 0584c75

Browse files
Update setupTests.jsx
1 parent e326597 commit 0584c75

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-
addListener: () => {},
32-
removeListener: () => {}
31+
addEventListener: () => {},
32+
removeEventListener: () => {}
3333
});
3434

3535
// Ignore not implemented errors

0 commit comments

Comments
 (0)