mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
Not sure why I would need this
This commit is contained in:
parent
a936dd11b5
commit
055484910f
@ -9,6 +9,7 @@ jest.mock('global', () => ({
|
||||
window: {
|
||||
__STORYBOOK_CLIENT_API__: undefined,
|
||||
addEventListener: jest.fn(),
|
||||
postMessage: jest.fn(),
|
||||
location: { search: '' },
|
||||
history: { replaceState: jest.fn() },
|
||||
matchMedia: jest.fn().mockReturnValue({ matches: false }),
|
||||
|
Loading…
x
Reference in New Issue
Block a user