caolan / caolan/nodeunit

ifError doesn't throw

オープン
#151 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1.9k
フォーク
359
PR マージ指標
30日以内にマージされた PR はありません

説明

I think the problem is that ifError assertion which is simply "if (error) throw error;" is getting wrapped by assertWrapper which contains a try/catch. This stops the throw from escaping and exiting the test method where it appears. Is it possible that the fix is simply to avoid wrapping the ifError assertion?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。