blob: 44d996311dca134d92cd7a20d9cc03423423303f [file] [edit]
'use strict';
const common = require('../common');
const zlib = require('zlib');
const ts = zlib.createGzip();
const buf = Buffer.alloc(1024 * 1024 * 20);
ts.on('data', common.mustCall(() => ts.close()));
ts.end(buf);