mjackson/expect

Make `toNotThrow` say what was thrown

开放

#193 创建于 2017年2月3日

 (4 条评论) (0 个反应) (0 位负责人)JavaScript (115 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (2,269 个星标)
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 :)

贡献者指南