We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5f7e7 commit 27e0f32Copy full SHA for 27e0f32
Ch3_Testing/controllable-tests.adoc
@@ -103,6 +103,9 @@ Promiseで意図したテストを書くためにはどうするか、またそ
103
今回書いた `shouldFulfilled` と `shouldRejected` はライブラリとして利用できるようになっています。
104
105
https://github.com/azu/promise-test-helper[azu/promise-test-helper] からダウンロードすることができます。
106
+
107
+また、Node.js 10.0.0から ``assert.rejects`` と ``assert.doesNotReject`` というよく似た趣旨のassertionが提供されています。
108
+詳細は、https://nodejs.org/api/assert.html[Node.jsのAPIドキュメント]を参照してください。
109
====
110
111
また、今回のヘルパー関数は<<mocha-promise,MochaのPromiseサポート>>を前提とした書き方なので、
0 commit comments