mjackson/expect

Make `toNotThrow` say what was thrown

オープン

#193 opened on 2017/02/03

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (115 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (2,269 個のスター)
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 :)

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