We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60264fe commit e078dc8Copy full SHA for e078dc8
packages/~/config/happydom/register.ts
@@ -2,11 +2,6 @@
2
3
import { GlobalRegistrator } from "@happy-dom/global-registrator";
4
5
-// NOTE(douglasduteil): delete global.navigator
6
-// Ensure that the global.navigator is not defined to avoid conflicts with the
7
-// Navigator object from the browser.
8
-delete (global as any)["navigator"];
9
-
10
//
11
12
GlobalRegistrator.register();
0 commit comments