fix(test): hide runtime worker in jsdom
This commit is contained in:
1 parent
274e81c656
commit
7f3cf2aea2
1 file changed
+1
-1
+1
-1
@@ -6,7 +6,7 @@ import { setupTestBed } from '@analogjs/vitest-angular/setup-testbed';
|
||||
|
||||
setupTestBed();
|
||||
|
||||
vi.stubGlobal('Worker', window.Worker);
|
||||
vi.stubGlobal('Worker', undefined);
|
||||
|
||||
Object.defineProperty(window, 'matchMedia', {
|
||||
writable: true,
|
||||
|
||||
Reference in new issue
Block a user