mjackson/expect

Make `toNotThrow` say what was thrown

Open

#193 创建于 2017年2月3日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)JavaScript (2,290 star) (132 fork)batch import
enhancementhelp wanted

描述

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

贡献者指南

Make `toNotThrow` say what was thrown · mjackson/expect#193 | Good First Issue