mirror of https://github.com/nodejs/node.git
18 lines
482 B
JavaScript
18 lines
482 B
JavaScript
// Flags: --expose-internals
|
|
'use strict';
|
|
require('../common');
|
|
const { validateSnapshotNodes } = require('../common/heap');
|
|
const zlib = require('zlib');
|
|
|
|
validateSnapshotNodes('Node / ZlibStream', []);
|
|
// eslint-disable-next-line no-unused-vars
|
|
const gunzip = zlib.createGunzip();
|
|
validateSnapshotNodes('Node / ZlibStream', [
|
|
{
|
|
children: [
|
|
{ node_name: 'Zlib', edge_name: 'wrapped' },
|
|
{ node_name: 'Node / zlib_memory', edge_name: 'zlib_memory' }
|
|
]
|
|
}
|
|
]);
|