mjackson/expect

Make `toNotThrow` say what was thrown

Ouverte

#193 ouverte le 3 févr. 2017

 (4 commentaires) (0 réaction) (0 personne assignée)JavaScript (115 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (2 269 étoiles)
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