Skip to content

Map included TypeScript step locations to source coordinates - #5776

Open
kobenguyent with Copilot wants to merge 2 commits into
4.xfrom
copilot/fix-ts-include-modules-line-column
Open

kobenguyent with Copilot wants to merge 2 commits into
4.xfrom
copilot/fix-ts-include-modules-line-column

Conversation

Copilot AI commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Scenario Steps showed the .ts path for included modules but retained line and column numbers from the transpiled .temp.mjs file.

  • Source mapping: Preserve TypeScript source maps during transpilation and use them to translate included-step stack positions back to source coordinates.
  • Regression coverage: Assert exact page-object and test-file locations with both CJS and ESM loaders.
at Object.open (./pages/fooPage.ts:6:5)

Co-authored-by: kobenguyent <7845001+kobenguyent@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix line/column reporting for TypeScript include modules Map included TypeScript step locations to source coordinates Oct 31, 2026
Copilot AI requested a review from kobenguyent October 31, 2026 05:28
@kobenguyent
kobenguyent marked this pull request as ready for review October 31, 2026 05:56

This branch has not been deployed

No deployments
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.

Scenario Steps report wrong line/column for TypeScript include modules

2 participants