mjackson/expect

Make `toNotThrow` say what was thrown

Open

#193 aberto em 3 de fev. de 2017

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (132 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (2.290 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador