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 e4afc49 commit 5143039Copy full SHA for 5143039
test/parallel/test-assert-fail.js
@@ -47,4 +47,5 @@ test('Object prototype get', () => {
47
Object.prototype.get = () => { throw new Error('failed'); };
48
assert.throws(() => assert.fail(''), { code: 'ERR_ASSERTION' });
49
delete Object.prototype.get;
50
+ throw new Error('fail');
51
});
0 commit comments