mjackson/expect

Make `toNotThrow` say what was thrown

Open

#193 geöffnet am 3. Feb. 2017

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (132 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (2.290 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide