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 0dbaa64 commit 0c11785Copy full SHA for 0c11785
__tests__/device/index.test.ts
@@ -1,8 +1,8 @@
1
-import { getMediaMatches as WindowGetMediaMatches } from '@/browser-api'
+import { getMediaMatches as WindowGetMediaMatches } from '@/browser-api/media-queries'
2
import { isPortrait, portraitMediaQuery } from '@/device'
3
4
5
-jest.mock( '@/browser-api', () => ( {
+jest.mock( '@/browser-api/media-queries', () => ( {
6
getMediaMatches: jest.fn(),
7
} ) )
8
0 commit comments