Skip to content

Conversation

fjc0k
Copy link

@fjc0k fjc0k commented May 30, 2024

@fjc0k
Copy link
Author

fjc0k commented Jun 4, 2024

Before this PR is merged, you can use ts-snapshots-plugin instead of typescript-snapshots-plugin to support vitest.

@bakasmarius
Copy link

Before this PR is merged, you can use ts-snapshots-plugin instead of typescript-snapshots-plugin to 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants