Update svelte-test.md

This commit is contained in:
Jarred Sumner
2024-12-19 03:09:21 -08:00
parent 276da2dbf5
commit e21050dc6f

View File

@@ -3,7 +3,7 @@ name: "Test Svelte components with bun:test"
description: "import & require .svelte files in your tests in bun's jest-compatible test api, bun:test"
---
Bun's [Plugin API](/docs/runtime/plugins.md) lets you add custom loaders to your project and the `test.preload` option in `bunfig.toml` lets you ensure your loaders start before your tests run.
Bun's [Plugin API](/docs/runtime/plugins) lets you add custom loaders to your project and the `test.preload` option in `bunfig.toml` lets you ensure your loaders start before your tests run.
To support tests that import or require `*.svelte` files