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

Document how to avoid assertions causing test timeout (issue #45) #46

Merged
merged 3 commits into from
Feb 2, 2021
Merged

Document how to avoid assertions causing test timeout (issue #45) #46

merged 3 commits into from
Feb 2, 2021

Conversation

mrubli
Copy link
Contributor

@mrubli mrubli commented Sep 5, 2020

This documents #45 in the README and updates the example accordingly.

#45)

The exceptions raised by assertion failures get swallowed by the Node-RED
internals, so catch them explicitly and pass them to done() as suggested in
#45.
@jsf-clabot
Copy link

jsf-clabot commented Sep 5, 2020

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@mrubli mrubli changed the title Document issue #45 Document how to avoid assertions causing test timeout (issue #45) Feb 2, 2021
@mrubli
Copy link
Contributor Author

mrubli commented Feb 2, 2021

@knolleary Would you mind taking a look at this PR? After your recent fix for #48 (much appreciated, btw!) I wanted to improve the documentation on testing with the Catch node a bit and create a PR to resolve the long-standing #18 (basically adding to the existing doc with an example). Such documentation would have helped us greatly a couple of days ago. I was just hoping to resolve this PR first before I get started on a new one.

@knolleary knolleary merged commit 55d45b6 into node-red:master Feb 2, 2021
@knolleary
Copy link
Member

Hi @mrubli

sorry for overlooking this one. All looks good to me.

@mrubli
Copy link
Contributor Author

mrubli commented Feb 2, 2021

No worries. Thanks for merging!

@mrubli mrubli deleted the doc/issue-45 branch February 2, 2021 13:24
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.

3 participants