From 6c845102d32461ca6fb815ed5ebaa69043cf2cce Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 10 Mar 2025 09:25:33 +0200 Subject: [PATCH] fix(build): missing arguments in eslint.spec.ts --- src/public/app/services/eslint.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/public/app/services/eslint.spec.ts b/src/public/app/services/eslint.spec.ts index 1dc271d89..c6b87162a 100644 --- a/src/public/app/services/eslint.spec.ts +++ b/src/public/app/services/eslint.spec.ts @@ -7,7 +7,7 @@ describe("Linter", () => { const result = await lint(trimIndentation` for (const i = 0; i<10; i++) { } - `); + `, "application/javascript;env=frontend"); expect(result).toMatchObject([ { message: "'i' is constant.", }, { message: "Empty block statement." } @@ -23,7 +23,7 @@ describe("Linter", () => { } api.showMessage("Hi"); - `); + `, "application/javascript;env=frontend"); expect(result.length).toBe(0); }); @@ -33,7 +33,7 @@ describe("Linter", () => { function world() { } console.log("Hello world"); - `); + `, "application/javascript;env=frontend"); expect(result).toMatchObject([ { message: "'hello' is defined but never used.",