nodejs-mozilla/test/parallel/test-zlib-create-raw.js

16 lines
301 B
JavaScript

'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);
}