Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Map line numbers are wrong with mocha and ts-node #56

Open
Dzeri96 opened this issue Dec 13, 2021 · 1 comment
Open

Source Map line numbers are wrong with mocha and ts-node #56

Dzeri96 opened this issue Dec 13, 2021 · 1 comment
Labels

Comments

@Dzeri96
Copy link

Dzeri96 commented Dec 13, 2021

So as the title says, when I run this package with mocha like so:
why-is-node-running node_modules/.bin/_mocha --inspect -r ts-node/register 'src/**/*.test.ts'
or so:
mocha --inspect -r ts-node/register -r why-is-node-running/include 'src/**/*.test.ts'
the output points to the wrong line in the ts source files or even the wrong file completely.

@mafintosh
Copy link
Owner

PR welcome

@jonkoops jonkoops added the bug label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants