From 759421b775c63e54bbecd055480588da0d3937d8 Mon Sep 17 00:00:00 2001 From: Alem Tuzlak Date: Tue, 10 Dec 2024 11:11:26 +0100 Subject: [PATCH] linting --- app/routes/_index.test.tsx | 4 +--- package.json | 2 +- tests/setup.browser.tsx | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/routes/_index.test.tsx b/app/routes/_index.test.tsx index 26d37b3..eb05d1a 100644 --- a/app/routes/_index.test.tsx +++ b/app/routes/_index.test.tsx @@ -1,9 +1,7 @@ import * as Module from "./_index" describe("Home route", () => { - it("should render the home page text properly in english", async ({ - renderStub, - }) => { + it("should render the home page text properly in english", async ({ renderStub }) => { const { getByText } = await renderStub({ entries: [ { diff --git a/package.json b/package.json index e8f414f..dac09bd 100644 --- a/package.json +++ b/package.json @@ -89,4 +89,4 @@ "node": ">=22.11.0", "pnpm": ">=9.14.2" } -} \ No newline at end of file +} diff --git a/tests/setup.browser.tsx b/tests/setup.browser.tsx index 192cb7e..dae9d3e 100644 --- a/tests/setup.browser.tsx +++ b/tests/setup.browser.tsx @@ -60,7 +60,7 @@ const renderHook = renderReactHook // We extend the global test context with our custom functions that we pass into the context in beforeEach declare module "vitest" { export interface TestContext { - renderStub: typeof renderStub, + renderStub: typeof renderStub renderHook: typeof renderHook } }