mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
test: remove unused uncaughtException handler
This has been unused since cbc3ef64ce.
Refs: https://github.com/nodejs/node/pull/23053
PR-URL: https://github.com/nodejs/node/pull/25641
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
parent
06da364be2
commit
573ec5b022
@ -1,10 +1,4 @@
|
||||
'use strict';
|
||||
const common = require('../common');
|
||||
|
||||
process.on('uncaughtException', common.expectsError({
|
||||
code: 'ERR_STDOUT_CLOSE',
|
||||
type: Error,
|
||||
message: 'process.stdout cannot be closed'
|
||||
}));
|
||||
require('../common');
|
||||
|
||||
process.stdout.end();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user