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

fix: Correctly handle timed out tests in Jest #55

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

dividedmind
Copy link
Collaborator

When a test times out, Jest passes a message string back as an error instead of an Error instace. Handle this case.

Fixes #46

@ahtrotta, note the test referred to in #46 still fails because of recording overhead — adjusting timeouts allows it to pass.

When a test times out, Jest passes a message string back as an
error instead of an Error instace. Handle this case.

Fixes #46
@ahtrotta
Copy link

ahtrotta commented Dec 5, 2023

How do I build a local version of this from source so I can test it manually?

@dividedmind
Copy link
Collaborator Author

How do I build a local version of this from source so I can test it manually?

Check out, then yarn prepack and you can use bin/appmap-node.js to run it.

@dividedmind dividedmind changed the base branch from main to develop December 11, 2023 14:08
@dividedmind dividedmind merged commit 216c4f1 into develop Dec 11, 2023
@dividedmind dividedmind deleted the fix/jest-timeouts branch December 11, 2023 14:08
@appland-release
Copy link

🎉 This PR is included in version 2.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants