Context
#9221 added npm run import-specifiers:check (wired into test:ci) to keep relative-import specifiers uniform per resolution zone. #9245 ("close four testing/coverage-gate blind spots") merged with a .js-suffixed relative specifier in test/unit/engine-coverage-script.test.ts, which is in the Bundler-resolved zone (src/**/scripts/**/test/**) and should be extensionless:
$ npm run import-specifiers:check
test/unit/engine-coverage-script.test.ts: "../../scripts/engine-coverage.js" — this file's zone (src/scripts/test) resolves extensionless under Bundler
Same class of gap as #9240 (a PR merging with a branch state that predates or otherwise missed the drift check).
Requirements
- Drop the
.js extension from the flagged specifier (and any other drift import-specifiers:check still reports by the time this is picked up).
npm run import-specifiers:check exits 0 afterward.
Expected outcome
main is clean against its own drift guard again.
Context
#9221 added
npm run import-specifiers:check(wired intotest:ci) to keep relative-import specifiers uniform per resolution zone. #9245 ("close four testing/coverage-gate blind spots") merged with a.js-suffixed relative specifier intest/unit/engine-coverage-script.test.ts, which is in the Bundler-resolved zone (src/**/scripts/**/test/**) and should be extensionless:Same class of gap as #9240 (a PR merging with a branch state that predates or otherwise missed the drift check).
Requirements
.jsextension from the flagged specifier (and any other driftimport-specifiers:checkstill reports by the time this is picked up).npm run import-specifiers:checkexits 0 afterward.Expected outcome
mainis clean against its own drift guard again.