mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 05:12:29 +00:00
19 lines
541 B
JavaScript
19 lines
541 B
JavaScript
//#FILE: test-zlib-create-raw.js
|
|
//#SHA1: 187539d5696ec6b7c567dfba0d1528c4b65d1e0a
|
|
//-----------------
|
|
"use strict";
|
|
|
|
const zlib = require("zlib");
|
|
|
|
test("zlib.createInflateRaw returns an instance of InflateRaw", () => {
|
|
const inflateRaw = zlib.createInflateRaw();
|
|
expect(inflateRaw).toBeInstanceOf(zlib.InflateRaw);
|
|
});
|
|
|
|
test("zlib.createDeflateRaw returns an instance of DeflateRaw", () => {
|
|
const deflateRaw = zlib.createDeflateRaw();
|
|
expect(deflateRaw).toBeInstanceOf(zlib.DeflateRaw);
|
|
});
|
|
|
|
//<#END_FILE: test-zlib-create-raw.js
|