Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
temp: fail test to see output
  • Loading branch information
Ceres6 committed Jan 29, 2025
commit 5143039db0d031317c1af2fb2fb620f2aa0f450e
1 change: 1 addition & 0 deletions test/parallel/test-assert-fail.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ test('Object prototype get', () => {
Object.prototype.get = () => { throw new Error('failed'); };
assert.throws(() => assert.fail(''), { code: 'ERR_ASSERTION' });
delete Object.prototype.get;
throw new Error('fail');
Comment thread
Ceres6 marked this conversation as resolved.
Outdated
});