mjackson/expect

Make `toNotThrow` say what was thrown

Open

#193 aperta il 3 feb 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (132 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (2290 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

expect(() => foo()).toNotThrow

fails when foo throws, but it doesn't tell me what error foo threw. This would be really useful for debugging. I'm happy to make a PR :)

PS: I'm also happy to try to help out more if you need help with this module :)

Guida contributor