diff --git a/test/parallel/test-zlib-create-raw.js b/test/parallel/test-zlib-create-raw.js new file mode 100644 index 0000000000..92e21545e4 --- /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); +}