Closed mrbbot closed 6 months ago
Currently, the Vitest integration is tested against a suite of example tests. There are some things that can't be tested this way though:
console.log()
SELF
main
import()
These require us to (re)start Vitest programatically and assert on its output, or interact with a running session. We'll also want to make sure we're testing...
Closed by #5869
Currently, the Vitest integration is tested against a suite of example tests. There are some things that can't be tested this way though:
console.log()
ing (including insideSELF
) with source mapsSELF
integration tests https://github.com/cloudflare/workers-sdk/issues/5384)main
detection and failureimport()
(for unit tests andSELF
integration tests https://github.com/cloudflare/workers-sdk/issues/5387)These require us to (re)start Vitest programatically and assert on its output, or interact with a running session. We'll also want to make sure we're testing...