|
13 | 13 | "Vitest Describe": { |
14 | 14 | "prefix": "videscribe", |
15 | 15 | "body": [ |
16 | | - "describe('${1:name}'), () => {", |
| 16 | + "describe('${1:name}', () => {", |
17 | 17 | "\t${0}", |
18 | | - "}" |
| 18 | + "})" |
19 | 19 | ], |
20 | 20 | "description": "Vitest Describe" |
21 | 21 | }, |
22 | 22 | "Vitest Describe - Concurrent": { |
23 | 23 | "prefix": "videscribe-concurrent", |
24 | 24 | "body": [ |
25 | | - "describe.concurrent('${1:name}'), () => {", |
| 25 | + "describe.concurrent('${1:name}', () => {", |
26 | 26 | "\t${0}", |
27 | | - "}" |
| 27 | + "})" |
28 | 28 | ], |
29 | 29 | "description": "Vitest Describe Concurrent" |
30 | 30 | }, |
31 | 31 | "Vitest It": { |
32 | 32 | "prefix": "viit", |
33 | 33 | "body": [ |
34 | | - "it('${1:name}'), () => {", |
| 34 | + "it('${1:name}', () => {", |
35 | 35 | "\t${0}", |
36 | | - "}" |
| 36 | + "})" |
37 | 37 | ], |
38 | 38 | "description": "Vitest It" |
39 | 39 | }, |
40 | 40 | "Vitest It - Concurrent": { |
41 | 41 | "prefix": "viit-concurrent", |
42 | 42 | "body": [ |
43 | | - "it.concurrent('${1:name}'), () => {", |
| 43 | + "it.concurrent('${1:name}', () => {", |
44 | 44 | "\t${0}", |
45 | | - "}" |
| 45 | + "})" |
46 | 46 | ], |
47 | 47 | "description": "Vitest It Concurrent" |
48 | 48 | }, |
49 | 49 | "Vitest It - Async": { |
50 | 50 | "prefix": "viit-async", |
51 | 51 | "body": [ |
52 | | - "it('${1:name}'), async () => {", |
| 52 | + "it('${1:name}', async () => {", |
53 | 53 | "\t${0}", |
54 | | - "}" |
| 54 | + "})" |
55 | 55 | ], |
56 | 56 | "description": "Vitest It Async" |
57 | 57 | }, |
58 | 58 | "Vitest It - Async Concurrent": { |
59 | 59 | "prefix": "viit-async-concurrent", |
60 | 60 | "body": [ |
61 | | - "it.concurrent('${1:name}'), async () => {", |
| 61 | + "it.concurrent('${1:name}', async () => {", |
62 | 62 | "\t${0}", |
63 | | - "}" |
| 63 | + "})" |
64 | 64 | ], |
65 | 65 | "description": "Vitest It Async Concurrent" |
66 | 66 | }, |
|
74 | 74 | "Vitest Test": { |
75 | 75 | "prefix": "vitest", |
76 | 76 | "body": [ |
77 | | - "test('${1:name}'), () => {", |
| 77 | + "test('${1:name}', () => {", |
78 | 78 | "\t${0}", |
79 | | - "}" |
| 79 | + "})" |
80 | 80 | ], |
81 | 81 | "description": "Vitest Test" |
82 | 82 | }, |
83 | 83 | "Vitest Test - Concurrent": { |
84 | 84 | "prefix": "vitest-concurrent", |
85 | 85 | "body": [ |
86 | | - "test.concurrent('${1:name}'), () => {", |
| 86 | + "test.concurrent('${1:name}', () => {", |
87 | 87 | "\t${0}", |
88 | | - "}" |
| 88 | + "})" |
89 | 89 | ], |
90 | 90 | "description": "Vitest Test Concurrent" |
91 | 91 | }, |
92 | 92 | "Vitest Test - Async": { |
93 | 93 | "prefix": "vitest-async", |
94 | 94 | "body": [ |
95 | | - "test('${1:name}'), async () => {", |
| 95 | + "test('${1:name}', async () => {", |
96 | 96 | "\t${0}", |
97 | | - "}" |
| 97 | + "})" |
98 | 98 | ], |
99 | 99 | "description": "Vitest Test Async" |
100 | 100 | }, |
101 | 101 | "Vitest Test - Async Concurrent": { |
102 | 102 | "prefix": "vitest-async-concurrent", |
103 | 103 | "body": [ |
104 | | - "test.concurrent('${1:name}'), async () => {", |
| 104 | + "test.concurrent('${1:name}', async () => {", |
105 | 105 | "\t${0}", |
106 | | - "}" |
| 106 | + "})" |
107 | 107 | ], |
108 | 108 | "description": "Vitest Test Async Concurrent" |
109 | 109 | }, |
|
0 commit comments