feat(ui): add the Vue component kit with UiRail, UiTooltip and UiIcon

This commit is contained in:
Sameh Khamis committed 2026-10-30 16:11:48 -07:00
1 parent c13c487dcf
commit 7307c11c74
13 files changed
+340 -3

No files matched your search

+10
View File
@@ -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();
}