test: add mock DOM to test environment

This commit is contained in:
xenticore
2025-03-27 12:11:20 -04:00
parent 349ceacb4d
commit 15841520fd
4 changed files with 6 additions and 0 deletions

3
happydom.ts Normal file
View File

@@ -0,0 +1,3 @@
import { GlobalRegistrator } from "@happy-dom/global-registrator";
GlobalRegistrator.register();