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 d3c4b3f commit da921e9Copy full SHA for da921e9
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