diff --git a/test/parallel/test-zlib-create-raw.js b/test/parallel/test-zlib-create-raw.js new file mode 100644 index 00000000000000..92e21545e40905 --- /dev/null +++ b/test/parallel/test-zlib-create-raw.js @@ -0,0 +1,15 @@ +'use strict'; + +require('../common'); +const assert = require('assert'); +const zlib = require('zlib'); + +{ + const inflateRaw = zlib.createInflateRaw(); + assert(inflateRaw instanceof zlib.InflateRaw); +} + +{ + const deflateRaw = zlib.createDeflateRaw(); + assert(deflateRaw instanceof zlib.DeflateRaw); +}