You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Graph: an import resolved to a hand-written .d.ts never links the sibling .js, so changes to it select nothing #269
In src/repo/graph.ts, an import that TypeScript resolves to a hand-written declaration file gets an edge to foo.d.ts only. The file that runs is the sibling foo.js, and nothing links it to the importer. A change to foo.js selects no tests and does not fall back.
Repro:src/foo.js with src/foo.d.ts next to it, src/foo.test.ts importing ./foo.js (or ./foo). Change src/foo.js. The same happens with foo.d.mts and foo.mjs.
Expected:src/foo.test.ts is selected, or the change falls back.
Actual: no affected tests, fallbackRequired: false.
Activity