test: use common.crashOnUnhandledRejection
PR-URL: https://github.com/nodejs/node/pull/17229 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
6b56be21a4
commit
01dc6d26dc
@ -1,10 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
|
||||
const assert = require('assert');
|
||||
const initHooks = require('./init-hooks');
|
||||
const { checkInvocations } = require('./hook-checks');
|
||||
|
||||
common.crashOnUnhandledRejection();
|
||||
|
||||
const hooks = initHooks();
|
||||
|
||||
hooks.enable();
|
||||
|
Loading…
x
Reference in New Issue
Block a user