Skip to content

Commit e078dc8

Browse files
committed
chore(config): remove navigator hack
1 parent 60264fe commit e078dc8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/~/config/happydom/register.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22

33
import { GlobalRegistrator } from "@happy-dom/global-registrator";
44

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-
105
//
116

127
GlobalRegistrator.register();

0 commit comments

Comments
 (0)