File SystemTest RunnerWrite browser DOM tests with Bun and happy-domUse Happy DOM to write browser tests with Bun's test runner. Happy DOM implements mocked versions of browser APIs like document and location .Copy MarkdownOpenUsing Testing Library with BunYou can use Testing Library with Bun's test runner.import, require, and test Svelte components with bun testUse Bun's Plugin API to add a custom loader for .svelte files, and the test.preload option in bunfig.toml to load it before your tests run.