Skip to content

Commit 606a3bc

Browse files
Add tsconfig for the e2e tests
Gives editors a TS project covering tests/e2e so the $src alias, @playwright/test, and the window.bubbles harness globals resolve — clearing the editor-only errors in the fixture. `bun run check` uses the root tsconfig (which excludes tests/), so the lint/CI gate is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 6bc8d87 commit 606a3bc

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

tests/e2e/tsconfig.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
// Gives editors a TS project for the e2e files so the `$src` alias,
3+
// @playwright/test, and the window.bubbles harness globals resolve.
4+
// `bun run check` uses the root tsconfig (which excludes tests/), so this
5+
// is editor-only and doesn't change the lint/CI gate.
6+
"extends": "../../tsconfig.json",
7+
"compilerOptions": {
8+
"types": ["@playwright/test", "vite/client", "node"],
9+
"paths": {
10+
"$src/*": ["../../src/*"]
11+
}
12+
},
13+
"include": ["**/*.ts"]
14+
}

0 commit comments

Comments
 (0)