diff --git a/packages/github/.snapshots/1e467e89966f1dc487140f1b18eaffad/0.snap b/packages/github/.snapshots/1e467e89966f1dc487140f1b18eaffad/0.snap index c373480..8907b1a 100644 --- a/packages/github/.snapshots/1e467e89966f1dc487140f1b18eaffad/0.snap +++ b/packages/github/.snapshots/1e467e89966f1dc487140f1b18eaffad/0.snap @@ -5,12 +5,12 @@ Object { ::debug::starting to run is ok ::debug::completed running is ok ::debug::starting to run fails -::error title=fails,file=tests/example.js,line=9,col=11::Error [ERR_TEST_FAILURE]: this is an error%0A at async Promise.all (index 0) {%0A code: 'ERR_TEST_FAILURE',%0A failureType: 'testCodeFailure',%0A cause: Error: this is an error%0A at TestContext. (CWD/tests/example.js:9:11)%0A at Test.runInAsyncScope (node:async_hooks:211:14)%0A at Test.run (node:internal/test_runner/test:887:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:584:18)%0A at Test.postRun (node:internal/test_runner/test:983:19)%0A at Test.run (node:internal/test_runner/test:926:12)%0A at async Promise.all (index 0)%0A at async Suite.run (node:internal/test_runner/test:1268:7)%0A at async startSubtestAfterBootstrap (node:internal/test_runner/harness:280:3)%0A} +::error title=fails,file=tests/example.js,line=9,col=11::Error [ERR_TEST_FAILURE]: this is an error%0A at async Promise.all (index 0) {%0A code: 'ERR_TEST_FAILURE',%0A failureType: 'testCodeFailure',%0A cause: Error: this is an error%0A at TestContext. (CWD/tests/example.js:9:11)%0A at Test.runInAsyncScope (node:async_hooks:211:14)%0A at Test.run (node:internal/test_runner/test:930:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)%0A at Test.postRun (node:internal/test_runner/test:1026:19)%0A at Test.run (node:internal/test_runner/test:969:12)%0A at async Promise.all (index 0)%0A at async Suite.run (node:internal/test_runner/test:1295:7)%0A at async startSubtestAfterBootstrap (node:internal/test_runner/harness:289:3)%0A} ::debug::starting to run is a diagnostic ::debug::completed running is a diagnostic ::notice file=tests/example.js,line=11,col=3::this is a diagnostic ::debug::starting to run should fail -::error title=should fail,file=tests/example.js,line=12,col=31::[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A] {%0A code: 'ERR_TEST_FAILURE',%0A failureType: 'testCodeFailure',%0A cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A %0A assert(false)%0A %0A at TestContext. (CWD/tests/example.js:12:31)%0A at Test.runInAsyncScope (node:async_hooks:211:14)%0A at Test.run (node:internal/test_runner/test:887:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:584:18)%0A at Test.postRun (node:internal/test_runner/test:983:19)%0A at Test.run (node:internal/test_runner/test:926:12)%0A at async Suite.processPendingSubtests (node:internal/test_runner/test:584:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '=='%0A }%0A} +::error title=should fail,file=tests/example.js,line=12,col=31::[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A] {%0A code: 'ERR_TEST_FAILURE',%0A failureType: 'testCodeFailure',%0A cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A %0A assert(false)%0A %0A at TestContext. (CWD/tests/example.js:12:31)%0A at Test.runInAsyncScope (node:async_hooks:211:14)%0A at Test.run (node:internal/test_runner/test:930:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)%0A at Test.postRun (node:internal/test_runner/test:1026:19)%0A at Test.run (node:internal/test_runner/test:969:12)%0A at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '=='%0A }%0A} ::debug::starting to run more tests ::debug::starting to run is ok ::debug::completed running is ok diff --git a/packages/github/.snapshots/1e467e89966f1dc487140f1b18eaffad/2.snap b/packages/github/.snapshots/1e467e89966f1dc487140f1b18eaffad/2.snap index 2e90d19..db9d9cd 100644 --- a/packages/github/.snapshots/1e467e89966f1dc487140f1b18eaffad/2.snap +++ b/packages/github/.snapshots/1e467e89966f1dc487140f1b18eaffad/2.snap @@ -2,7 +2,7 @@ Object { "exitCode": 1, "stderr": "", "stdout": "::debug::starting to run should fail -::error title=should fail,file=tests/example.mjs,line=5,col=3::[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A] {%0A code: 'ERR_TEST_FAILURE',%0A failureType: 'testCodeFailure',%0A cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A %0A assert(false)%0A %0A at TestContext. (file://CWD/tests/example.mjs:5:3)%0A at Test.runInAsyncScope (node:async_hooks:211:14)%0A at Test.run (node:internal/test_runner/test:887:25)%0A at Test.start (node:internal/test_runner/test:786:17)%0A at startSubtestAfterBootstrap (node:internal/test_runner/harness:280:17) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '=='%0A }%0A} +::error title=should fail,file=tests/example.mjs,line=5,col=3::[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A] {%0A code: 'ERR_TEST_FAILURE',%0A failureType: 'testCodeFailure',%0A cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A %0A assert(false)%0A %0A at TestContext. (file://CWD/tests/example.mjs:5:3)%0A at Test.runInAsyncScope (node:async_hooks:211:14)%0A at Test.run (node:internal/test_runner/test:930:25)%0A at Test.start (node:internal/test_runner/test:829:17)%0A at startSubtestAfterBootstrap (node:internal/test_runner/harness:289:17) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '=='%0A }%0A} ::debug::starting to run should pass ::debug::completed running should pass ::group::Test results (1 passed, 1 failed)