Language service support for viewing/navigating to your test snapshots
You can configure various plugin settings in tsconfig.json/jsconfig.json
file:
{
"compilerOptions": {
"plugins": [
{
"name": "typescript-snapshots-plugin",
"snapshotDir": "__snapshots__",
"snapshotCallIdentifiers": [
"toMatchSnapshot",
"myMatchSnapshot"
]
}
],
}
}
Look here for available configuration options
Snapshot syntax file was copied from vscode-jest extension. Syntax issues/suggestions must be filled against vscode-jest repo.
If you're using a workspace version of Typescript, you must configure the TS server plugin manually by following these instructions