Skip to content

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

Merged
knolleary merged 3 commits into
node-red:masterfrom
mrubli:doc/issue-45
Feb 2, 2021
Merged

knolleary merged 3 commits into
node-red:masterfrom
mrubli:doc/issue-45

Conversation

@mrubli

@mrubli mrubli commented Sep 5, 2020 •

Copy link
Copy Markdown
Contributor

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

jsf-clabot commented Sep 5, 2020 •

Copy link
Copy Markdown

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

mrubli commented Feb 2, 2021

Copy link
Copy Markdown
Contributor Author

@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
Copy Markdown
Member

Hi @mrubli

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

@mrubli

mrubli commented Feb 2, 2021

Copy link
Copy Markdown
Contributor Author

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