mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
feat(ui): add the Vue component kit with UiRail, UiTooltip and UiIcon
This commit is contained in:
1 parent
c13c487dcf
commit
7307c11c74
13 files changed
+340
-3
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { GlobalRegistrator } from '@happy-dom/global-registrator';
|
||||
|
||||
/**
|
||||
* Give a component test a browser document; returns the teardown.
|
||||
* Call it from `before`/`after`, since other suites assert there is no DOM.
|
||||
*/
|
||||
export function installVueDom() {
|
||||
GlobalRegistrator.register({ url: 'http://localhost/' });
|
||||
return () => GlobalRegistrator.unregister();
|
||||
}
|
||||
Reference in new issue
Block a user