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
Test runner location output not source-mapped #51392
@MoLow that repo/branch linked ^^^ is an attempt at a minimal reproduction, but I don't know enough about how it works to take ts-node out of the equation.
Note that it is somewhat related to the test runner at least in the sense that it's the test runner output specifically that lacks correct location information.
I think the changes in v20.16.0 broke my project, because in v20.15.1 it works perfectly... :(
Now I got Warning: Could not report code coverage. TypeError: Cannot read properties of undefined (reading 'line') with command node --trace-warnings --test --experimental-test-coverage xxx.test.js when source-map is on, and no problem if source-map is off.
However I can't find a minimal reproduction of this problem yet, I will open a new issue if I found it.
Activity
MoLow commentedon Jan 6, 2024
My guess is this is not diredtly related to the test runner, do you have a minimal reproduction?
malthe commentedon Jan 6, 2024
@MoLow that repo/branch linked ^^^ is an attempt at a minimal reproduction, but I don't know enough about how it works to take
ts-nodeout of the equation.Note that it is somewhat related to the test runner at least in the sense that it's the test runner output specifically that lacks correct location information.
test_runner: support source mapped test locations
test_runner: use paths for test locations
test_runner: support source mapped test locations
test_runner: support source mapped test locations
test_runner: support source mapped test locations
test_runner: use paths for test locations
test_runner: support source mapped test locations
test_runner: use paths for test locations
fenying commentedon Aug 2, 2024
I think the changes in v20.16.0 broke my project, because in v20.15.1 it works perfectly... :(
Now I got
Warning: Could not report code coverage. TypeError: Cannot read properties of undefined (reading 'line')with commandnode --trace-warnings --test --experimental-test-coverage xxx.test.jswhen source-map is on, and no problem if source-map is off.However I can't find a minimal reproduction of this problem yet, I will open a new issue if I found it.