diff options
Diffstat (limited to 'test/parallel/test-heapdump-zlib.js')
-rw-r--r-- | test/parallel/test-heapdump-zlib.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/parallel/test-heapdump-zlib.js b/test/parallel/test-heapdump-zlib.js new file mode 100644 index 0000000000..7a749902f5 --- /dev/null +++ b/test/parallel/test-heapdump-zlib.js @@ -0,0 +1,17 @@ +// Flags: --expose-internals +'use strict'; +require('../common'); +const { validateSnapshotNodes } = require('../common/heap'); +const zlib = require('zlib'); + +validateSnapshotNodes('ZLIB', []); +// eslint-disable-next-line no-unused-vars +const gunzip = zlib.createGunzip(); +validateSnapshotNodes('ZLIB', [ + { + children: [ + { name: 'Zlib' }, + { name: 'zlib memory' } + ] + } +]); |