From 483b7a879d863f08cf5152be67b31e9b42c0623c Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 29 Sep 2021 20:33:57 -0400 Subject: [PATCH] lint --- src/vscode-bicep/src/test/e2e/hover.test.ts | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/vscode-bicep/src/test/e2e/hover.test.ts b/src/vscode-bicep/src/test/e2e/hover.test.ts index db88ef36e71..32f3a9182bc 100644 --- a/src/vscode-bicep/src/test/e2e/hover.test.ts +++ b/src/vscode-bicep/src/test/e2e/hover.test.ts @@ -69,7 +69,11 @@ describe("hover", (): void => { startCharacter: 9, endLine: 108, endCharacter: 13, - contents: [codeblock("resource vnet\nMicrosoft.Network/virtualNetworks@2020-06-01")], + contents: [ + codeblock( + "resource vnet\nMicrosoft.Network/virtualNetworks@2020-06-01" + ), + ], }); }); @@ -102,7 +106,8 @@ describe("hover", (): void => { contents: [ codeblockWithDescription( "function uniqueString(string): string", - "Creates a deterministic hash string based on the values provided as parameters.") + "Creates a deterministic hash string based on the values provided as parameters." + ), ], }); }); @@ -143,9 +148,7 @@ describe("hover", (): void => { ); expect(hover.contents).toHaveLength(contents.length); hover.contents.forEach((content, contentIndex) => { - expect(normalizeMarkedString(content)).toBe( - contents[contentIndex] - ); + expect(normalizeMarkedString(content)).toBe(contents[contentIndex]); }); }); } @@ -158,7 +161,10 @@ describe("hover", (): void => { return "```bicep\n" + rawString + "\n```\n"; } - function codeblockWithDescription(rawString: string, description: string): string { + function codeblockWithDescription( + rawString: string, + description: string + ): string { return `${codeblock(rawString)}${description}`; } });