Skip to content

Commit adfaef2

Browse files
authored
feat(vitest): Add function to Vitest todo snippets (#66)
1 parent 0eae3d3 commit adfaef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"Vitest It - Todo": {
6868
"prefix": "viit-todo",
6969
"body": [
70-
"it.todo('${1:name}')"
70+
"it.todo('${1:name}', () => {})"
7171
],
7272
"description": "Vitest It Todo"
7373
},
@@ -110,7 +110,7 @@
110110
"Vitest Test - Todo": {
111111
"prefix": "vitest-todo",
112112
"body": [
113-
"test.todo('${1:name}')"
113+
"test.todo('${1:name}', () => {})"
114114
],
115115
"description": "Vitest Test Todo"
116116
},

0 commit comments

Comments
 (0)