diff --git a/test/parallel/test-stream-duplex.js b/test/parallel/test-stream-duplex.js index 5a686a6ababbcc..f0c8a47a507cfa 100644 --- a/test/parallel/test-stream-duplex.js +++ b/test/parallel/test-stream-duplex.js @@ -22,7 +22,7 @@ const common = require('../common'); const assert = require('assert'); -const Duplex = require('stream').Transform; +const Duplex = require('stream').Duplex; const stream = new Duplex({ objectMode: true });