We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed9afc4 commit 87cabd8Copy full SHA for 87cabd8
test/common/heap.js
@@ -21,6 +21,7 @@ const { getHeapSnapshot } = require('v8');
21
22
function createJSHeapSnapshot(stream = getHeapSnapshot()) {
23
stream.pause();
24
+ stream.read(0);
25
const dump = JSON.parse(stream.read(stream.readableLength));
26
const meta = dump.snapshot.meta;
27
0 commit comments