diff options
author | IHsuan <frostyjoan0829@livemail.tw> | 2017-11-22 16:39:05 +0800 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-12-06 13:56:52 -0500 |
commit | 694e7baf00ecea3d5d686c2f14a595b3c4a464ef (patch) | |
tree | 9781568cb52f2cf23061755199dd2d6c3a9d61cd /test | |
parent | b1acba363d55241921584ddc7057d20983d4b52d (diff) | |
download | node-new-694e7baf00ecea3d5d686c2f14a595b3c4a464ef.tar.gz |
test: add common.crashOnUnhandledRejection()
PR-URL: https://github.com/nodejs/node/pull/17247
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/addons/make-callback-recurse/test.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/addons/make-callback-recurse/test.js b/test/addons/make-callback-recurse/test.js index 77815e052a..222a81b06b 100644 --- a/test/addons/make-callback-recurse/test.js +++ b/test/addons/make-callback-recurse/test.js @@ -9,6 +9,7 @@ const makeCallback = binding.makeCallback; // Make sure this is run in the future. const mustCallCheckDomains = common.mustCall(checkDomains); +common.crashOnUnhandledRejection(); // Make sure that using MakeCallback allows the error to propagate. assert.throws(function() { |