-
-
Notifications
You must be signed in to change notification settings - Fork 306
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
Fix parsing of stack traces on windows #183
Fix parsing of stack traces on windows #183
Conversation
`functionName`, `file`, `line`, `column` will now be properly set in result objects (and subsequently tape text output)
@Joris-van-der-Wel sorry this has been so long; can you click the "allow edits" checkbox on the right hand side of the PR, and i think having a test case - even one that only runs on windows, or that has different expected output based on the OS - is important. Could you add one? |
I will have to see if I can find some time to rebase and add a test case (I do not have any time for this in the next days). |
Thanks, much appreciated! |
@Joris-van-der-Wel are you still interested in completing this PR? i'd love to get it in. |
It looks to me that this issue has already been accidentally fixed over the last few years: tmp.jsconst test = require('./');
test('foo', function (t) {
t.plan(1);
t.equal(1 + 1, 3);
}); Command prompt
I tried to run a |
eesh, true - that merge commit is just bringing together lots of past published version tags. It might be easier to do the bisect by manually checking out different version tags rather than using Would you be interested in updating this PR to instead contain a test case? If not, we can close it. |
ping @Joris-van-der-Wel |
@Joris-van-der-Wel unfortunately, you deleted the fork, so this PR is unrecoverable :-( |
Oh oops. I still had a local copy and I managed to recreate the fork, if that helps. I have not actually used this project in 9 years so it is a bit hard to wrap my head around this issue again. |
Makes sense - all I’d really want is a test case; i can try to validate it on windows myself and fix it if needed. |
Continued in a new PR: #602 |
functionName
,file
,line
,column
will now be properly set in result objects (and subsequently tape text output).I wanted to add a test case, however having to workaround
__dirname
is probably not worth the effort (and would make the test case itself change behaviour based on the host OS too)