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

贡献者指南