smartntml/ts/instrument/happydom.ts

9 lines
221 B
TypeScript
Raw Normal View History

// happy-dom setup
2023-05-01 11:03:32 +00:00
// first lets setup indexeddb
import 'fake-indexeddb/auto';
import { GlobalRegistrator } from '@happy-dom/global-registrator';
GlobalRegistrator.register();
window.location.href = 'http://localhost';