BREAKING CHANGE(improved the loading of the environment. Can now be used in sync environments.): update
This commit is contained in:
4
ts/instrument/happydom.ts
Normal file
4
ts/instrument/happydom.ts
Normal file
@ -0,0 +1,4 @@
|
||||
// happy-dom setup
|
||||
import { GlobalRegistrator } from '@happy-dom/global-registrator';
|
||||
GlobalRegistrator.register();
|
||||
window.location.href = 'http://localhost';
|
Reference in New Issue
Block a user