Skip to content

Commit bf8ade6

Browse files
committed
Add Vitest base snippet #63
1 parent adf6fbd commit bf8ade6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: snippets/vitest/vitest.code-snippets

+12
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,16 @@
128128
],
129129
"description": "Vitest Match Inline Snapshot"
130130
},
131+
"Vitest Base": {
132+
"prefix": "vibase",
133+
"body": [
134+
"// @vitest-environment node",
135+
"import { describe, expect } from 'vitest'",
136+
"",
137+
"describe('${TM_FILENAME/\\..*//}', () => {",
138+
"\t${0}",
139+
"})"
140+
],
141+
"description": "Vitest Match Inline Snapshot"
142+
},
131143
}

0 commit comments

Comments
 (0)