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

@tapjs/stack needs to be able to produce "conventional" js stacks #907

Closed
isaacs opened this issue Sep 20, 2023 · 0 comments
Closed

@tapjs/stack needs to be able to produce "conventional" js stacks #907

isaacs opened this issue Sep 20, 2023 · 0 comments

Comments

@isaacs
Copy link
Member

isaacs commented Sep 20, 2023

The node --test reporter is doing some fancy parsing stuff with error stacks, but the way that tap pares them down doesn't get the full treatment, even though it's quite a bit nicer on its own, it still looks like dog's dinner when it's util.inspect()ed all on one line.

Need to produce a stack string with the at, single full absolute filename, etc.

Should be an option to CallSiteLike.toString() to produce a line like this, the logic shouldn't have to change too much otherwise.

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

No branches or pull requests

1 participant