mjackson/expect

Make `toNotThrow` say what was thrown

Open

#193 opened on 2017年2月3日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)JavaScript (132 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (2,290 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド