Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Dec 10, 2024
1 parent d103923 commit 759421b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions app/routes/_index.test.tsx
Original file line number Diff line number Diff line change
@@ -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: [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
"node": ">=22.11.0",
"pnpm": ">=9.14.2"
}
}
}
2 changes: 1 addition & 1 deletion tests/setup.browser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 759421b

Please sign in to comment.