From 82562a8df9c85dbc7977f0ff145d2a116f136303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 23 Oct 2026 13:31:29 +0200 Subject: [PATCH] chore(knip): reach the browser test helper The next/navigation shim is reached only through the browser project's alias, and the helper's render module is a .tsx file under tests/, which the project globs did not include. --- knip.jsonc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/knip.jsonc b/knip.jsonc index 46380cd23..78b2aac64 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -100,6 +100,9 @@ "e2e/**/*.test.ts", "tests/**/*.test.ts", "tests/**/setup.ts", + // Reached only through the browser project's `next/navigation` alias in + // vitest.config.mts, which no import statement names. + "tests/browser/next-navigation.ts", "vitest.config.ts", "vitest.config.integration.ts", "playwright.config.ts", @@ -111,6 +114,7 @@ "src/**/*.{ts,tsx}!", "scripts/**/*.{ts,mjs}!", "tests/**/*.ts", + "tests/**/*.tsx", "e2e/**/*.ts", ], "ignore": [