diff --git a/test/async-hooks/test-promise.js b/test/async-hooks/test-promise.js index f7dbe64b890970..0243c7fb885cb9 100644 --- a/test/async-hooks/test-promise.js +++ b/test/async-hooks/test-promise.js @@ -1,6 +1,10 @@ 'use strict'; const common = require('../common'); +common.crashOnUnhandledRejection(); + +// This test ensures that the promise handling resolution correctly + const assert = require('assert'); const initHooks = require('./init-hooks'); const { checkInvocations } = require('./hook-checks');