We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d75e69 commit 802661aCopy full SHA for 802661a
test/pseudo-tty/test-tty-stdout-end.js
@@ -1,10 +1,4 @@
1
'use strict';
2
-const common = require('../common');
3
-
4
-process.on('uncaughtException', common.expectsError({
5
- code: 'ERR_STDOUT_CLOSE',
6
- type: Error,
7
- message: 'process.stdout cannot be closed'
8
-}));
+require('../common');
9
10
process.stdout.end();
0 commit comments