Patch Changes
-
#9533
0a5bb5a
Thanks @petebacondarwin! - fix: ensure that thesourcemap-codec
library has been transformed correctly to be imported in workerd during Vitest runsPrior to this the inline snapshot tests were failing because they use the
magic-string
library, which in turn relies upon thesourcemap-codec
library.This resulted in errors that look like:
Error running worker: SyntaxError: The requested module '@jridgewell/sourcemap-codec' does not provide an export named 'encode'