From ff6881cbf957f36a5a55cdac02f3d67bae27f84e Mon Sep 17 00:00:00 2001 From: Vasily Kuzin Date: Sat, 10 Jun 2023 18:20:53 +0300 Subject: [PATCH] Fix parenthesis placement #47 --- snippets/vitest/vitest.code-snippets | 40 ++++++++++++++-------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/snippets/vitest/vitest.code-snippets b/snippets/vitest/vitest.code-snippets index ce6944c..8275677 100644 --- a/snippets/vitest/vitest.code-snippets +++ b/snippets/vitest/vitest.code-snippets @@ -13,54 +13,54 @@ "Vitest Describe": { "prefix": "videscribe", "body": [ - "describe('${1:name}'), () => {", + "describe('${1:name}', () => {", "\t${0}", - "}" + "})" ], "description": "Vitest Describe" }, "Vitest Describe - Concurrent": { "prefix": "videscribe-concurrent", "body": [ - "describe.concurrent('${1:name}'), () => {", + "describe.concurrent('${1:name}', () => {", "\t${0}", - "}" + "})" ], "description": "Vitest Describe Concurrent" }, "Vitest It": { "prefix": "viit", "body": [ - "it('${1:name}'), () => {", + "it('${1:name}', () => {", "\t${0}", - "}" + "})" ], "description": "Vitest It" }, "Vitest It - Concurrent": { "prefix": "viit-concurrent", "body": [ - "it.concurrent('${1:name}'), () => {", + "it.concurrent('${1:name}', () => {", "\t${0}", - "}" + "})" ], "description": "Vitest It Concurrent" }, "Vitest It - Async": { "prefix": "viit-async", "body": [ - "it('${1:name}'), async () => {", + "it('${1:name}', async () => {", "\t${0}", - "}" + "})" ], "description": "Vitest It Async" }, "Vitest It - Async Concurrent": { "prefix": "viit-async-concurrent", "body": [ - "it.concurrent('${1:name}'), async () => {", + "it.concurrent('${1:name}', async () => {", "\t${0}", - "}" + "})" ], "description": "Vitest It Async Concurrent" }, @@ -74,36 +74,36 @@ "Vitest Test": { "prefix": "vitest", "body": [ - "test('${1:name}'), () => {", + "test('${1:name}', () => {", "\t${0}", - "}" + "})" ], "description": "Vitest Test" }, "Vitest Test - Concurrent": { "prefix": "vitest-concurrent", "body": [ - "test.concurrent('${1:name}'), () => {", + "test.concurrent('${1:name}', () => {", "\t${0}", - "}" + "})" ], "description": "Vitest Test Concurrent" }, "Vitest Test - Async": { "prefix": "vitest-async", "body": [ - "test('${1:name}'), async () => {", + "test('${1:name}', async () => {", "\t${0}", - "}" + "})" ], "description": "Vitest Test Async" }, "Vitest Test - Async Concurrent": { "prefix": "vitest-async-concurrent", "body": [ - "test.concurrent('${1:name}'), async () => {", + "test.concurrent('${1:name}', async () => {", "\t${0}", - "}" + "})" ], "description": "Vitest Test Async Concurrent" },