mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
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.
This commit is contained in:
1 parent
232c3db6ef
commit
82562a8df9
1 file changed
+4
@@ -100,6 +100,9 @@
|
|||||||
"e2e/**/*.test.ts",
|
"e2e/**/*.test.ts",
|
||||||
"tests/**/*.test.ts",
|
"tests/**/*.test.ts",
|
||||||
"tests/**/setup.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.ts",
|
||||||
"vitest.config.integration.ts",
|
"vitest.config.integration.ts",
|
||||||
"playwright.config.ts",
|
"playwright.config.ts",
|
||||||
@@ -111,6 +114,7 @@
|
|||||||
"src/**/*.{ts,tsx}!",
|
"src/**/*.{ts,tsx}!",
|
||||||
"scripts/**/*.{ts,mjs}!",
|
"scripts/**/*.{ts,mjs}!",
|
||||||
"tests/**/*.ts",
|
"tests/**/*.ts",
|
||||||
|
"tests/**/*.tsx",
|
||||||
"e2e/**/*.ts",
|
"e2e/**/*.ts",
|
||||||
],
|
],
|
||||||
"ignore": [
|
"ignore": [
|
||||||
|
|||||||
Reference in new issue
Block a user