typescript-snapshots-plugin
typescript-snapshots-plugin copied to clipboard
Support vitest flavored snapshot file
https://vitest.dev/guide/snapshot.html#_3-chevron-is-used-as-a-separator-instead-of-colon-for-custom-messages
Before this PR is merged, you can use ts-snapshots-plugin instead of typescript-snapshots-plugin to support vitest.
Before this PR is merged, you can use
ts-snapshots-plugininstead oftypescript-snapshots-pluginto support vitest.
I tried doing that, but it doesn't work - maybe I'm doing something wrong?
- I installed
ts-snapshots-plugin(npm i -D ts-snapshots-plugin) - I updated my tsconfig.json:
"plugins": [{ "name": "ts-snapshots-plugin", "snapshotFileFlavor": "vitest" }], - I restarted VSCode
I still can't see the previews or go to snapshot files.