Skip to content

Commit

Permalink
temp: fail test to see output
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceres6 committed Jan 29, 2025
1 parent e4afc49 commit 5143039
Showing 1 changed file with 1 addition and 0 deletions.
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');

Check failure on line 50 in test/parallel/test-assert-fail.js

View workflow job for this annotation

GitHub Actions / test-linux

--- stdout --- Test failure: 'Object prototype get' Location: test/parallel/test-assert-fail.js:46:1 Error: fail at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-fail.js:50:9) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:980:25) at Test.processPendingSubtests (node:internal/test_runner/test:678:18) at Test.postRun (node:internal/test_runner/test:1091:19) at Test.run (node:internal/test_runner/test:1019:12) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-assert-fail.js

Check failure on line 50 in test/parallel/test-assert-fail.js

View workflow job for this annotation

GitHub Actions / test-macOS (macos-13)

--- stdout --- Test failure: 'Object prototype get' Location: test/parallel/test-assert-fail.js:46:1 Error: fail at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-assert-fail.js:50:9) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:980:25) at Test.processPendingSubtests (node:internal/test_runner/test:678:18) at Test.postRun (node:internal/test_runner/test:1091:19) at Test.run (node:internal/test_runner/test:1019:12) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-assert-fail.js

Check failure on line 50 in test/parallel/test-assert-fail.js

View workflow job for this annotation

GitHub Actions / test-macOS (macos-14)

--- stdout --- Test failure: 'Object prototype get' Location: test/parallel/test-assert-fail.js:46:1 Error: fail at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-assert-fail.js:50:9) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:980:25) at Test.processPendingSubtests (node:internal/test_runner/test:678:18) at Test.postRun (node:internal/test_runner/test:1091:19) at Test.run (node:internal/test_runner/test:1019:12) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-assert-fail.js
});

0 comments on commit 5143039

Please sign in to comment.