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

Checks if stack trace exists when logging errors #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

toolbuilder
Copy link

Thanks for writing this and esm-tape-runner. I use zora as a TAP producing test library instead of tape. Zora does not produce a stack trace when there is an error, so tap-monkey crashes. Here's my fix. I tested the pack file on my project. I also used rollup to create a CommonJS version of the project and tested with tape as the test runner. The tests were still zora, except one I converted to tape.

BTW, I've since found that pta is also an ES and CommonJS test runner that meets your requirements. Pta is the npm package name.

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.

1 participant