mjackson/expect

Make `toNotThrow` say what was thrown

Open

#193 ouverte le 3 févr. 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (132 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (2 290 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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 :)

Guide contributeur