diff --git a/test/parallel/test-async-wrap-promise-after-enabled.js b/test/parallel/test-async-wrap-promise-after-enabled.js index 475411a3dae531..9535c080f246b7 100644 --- a/test/parallel/test-async-wrap-promise-after-enabled.js +++ b/test/parallel/test-async-wrap-promise-after-enabled.js @@ -9,6 +9,8 @@ const async_hooks = require('async_hooks'); const seenEvents = []; +common.crashOnUnhandledRejection(); + const p = new Promise((resolve) => resolve(1)); p.then(() => seenEvents.push('then'));