Skip to content

Commit

Permalink
test: log error
Browse files Browse the repository at this point in the history
Signed-off-by: Darshan Sen <[email protected]>
  • Loading branch information
RaisinTen committed Apr 3, 2022
1 parent 32fe26d commit 4a75f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/sequential/test-heapdump.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ process.chdir(tmpdir.path);
assert.throws(() => {
writeHeapSnapshot(directory);
}, (e) => {
console.debug(e);
assert.ok(e, 'writeHeapSnapshot should error');
assert.strictEqual(e.code, 'EISDIR');
assert.strictEqual(e.syscall, 'open');
Expand Down

0 comments on commit 4a75f31

Please sign in to comment.