testjavascript / nodejs-integration-tests-best-practices

✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (March 2024)
3.31k stars 196 forks source link

fix(example-application): use throw instead of (missing) reject #140

Open rluvaton opened 3 years ago

mikicho commented 2 years ago

More info about reject vs throw https://www.facebook.com/groups/jsisrael/posts/5212256798817956/

rluvaton commented 2 years ago

Thanks, but we don't have the reject function in this context

Hence the missing in the title 😄