summaryrefslogtreecommitdiff
path: root/test/parallel/test-wrap-js-stream-destroy.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-wrap-js-stream-destroy.js')
-rw-r--r--test/parallel/test-wrap-js-stream-destroy.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-wrap-js-stream-destroy.js b/test/parallel/test-wrap-js-stream-destroy.js
index 16d3e75e2c..5c1ed1e7e6 100644
--- a/test/parallel/test-wrap-js-stream-destroy.js
+++ b/test/parallel/test-wrap-js-stream-destroy.js
@@ -1,7 +1,8 @@
+// Flags: --expose-internals
'use strict';
const common = require('../common');
-const StreamWrap = require('_stream_wrap');
+const StreamWrap = require('internal/js_stream_socket');
const net = require('net');
// This test ensures that when we directly call `socket.destroy()` without