Skip to content

Fix incorrect types path in test/tsconfig.json - #4454

Open
KEX-03 wants to merge 1 commit into
nightwatchjs:mainfrom
KEX-03:fix/test-tsconfig-types-path
Open

KEX-03 wants to merge 1 commit into
nightwatchjs:mainfrom
KEX-03:fix/test-tsconfig-types-path

Conversation

@KEX-03

@KEX-03 KEX-03 commented Oct 26, 2026

Copy link
Copy Markdown

Summary

test/tsconfig.json lists ./types/index.d.ts under files. TypeScript resolves paths in files relative to the tsconfig's own directory, so this points to test/types/index.d.ts, which doesn't exist. The type definitions are at the repo root in types/index.d.ts.

This PR changes the path to ../types/index.d.ts.

Changes

  • test/tsconfig.json: ./types/index.d.ts → ../types/index.d.ts

Impact

Config only, no runtime or test behaviour changes. Nothing in CI uses this tsconfig, which is likely why the wrong path went unnoticed since #3803. The fix matters for editors and for anyone running tsc -p test locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant