mjackson/expect

Make `toNotThrow` say what was thrown

Open

#193 建立於 2017年2月3日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)JavaScript (132 fork)batch import
enhancementhelp wanted

倉庫指標

Star
 (2,290 star)
PR 合併指標
 (30 天內沒有已合併 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 :)

貢獻者指南