mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03:00
Change websocket mock from empty object to empty class (#3998)
This commit is contained in:
parent
4d68c7b561
commit
d31d2948c3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue