Change websocket mock from empty object to empty class (#3998)
This commit is contained in:
parent
4d68c7b561
commit
d31d2948c3
@ -41,7 +41,7 @@ export default meta;
|
||||
|
||||
// mock the Websocket to prevent ani webhook calls from being made in storybook
|
||||
// @ts-ignore
|
||||
window.WebSocket = () => {};
|
||||
window.WebSocket = class {};
|
||||
|
||||
type StateInitializer = (mutableState: MutableSnapshot) => void;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user