diff --git a/test/templates/watch.ts b/test/templates/watch.ts index 27a149c9..632ae81c 100644 --- a/test/templates/watch.ts +++ b/test/templates/watch.ts @@ -5,7 +5,7 @@ import { Server } from 'ws' import watch from '../../src/templates/watch/watch' beforeEach(() => { - delete window.location + delete (window as any).location ;(window as any).location = { reload: jest.fn() } })