Closed ambarvm closed 1 year ago
Start a new pull request in StackBlitz Codeflow.
Plugins option is not supported there. Use expect.addSnapshotSerializer
inside the setup file.
But Vitest should print the warning and remove all function options from the type.
Describe the bug
Using
snapshotFormat.plugins
invite.config.ts
results in this error. The error is very different on stackblitz but I think this local error shows more relevant info.If run with
vitest --threads=false
, a different error is shownReproduction
https://stackblitz.com/edit/vitest-dev-vitest-vr4kaa?file=vite.config.ts
System Info
Used Package Manager
pnpm
Validations