Vitest is slow with Deno. While @deno/vite-plugin may become faster with time (denoland/deno-vite-plugin#55), there is seemingly a low cost of just shifting to @std/testing and @std/expect.
Issues:
- Absence of inline snapshots
onTestFinished() hook in Vitest is useful for usePeer() helper. Maybe Deno test context can provide similar functionality.
Steps:
Vitest is slow with Deno. While
@deno/vite-pluginmay become faster with time (denoland/deno-vite-plugin#55), there is seemingly a low cost of just shifting to@std/testingand@std/expect.Issues:
onTestFinished()hook in Vitest is useful forusePeer()helper. Maybe Deno test context can provide similar functionality.Steps: