chore: fix typos #374
Annotations
5 errors, 20 warnings, and 21 notices
tests (v18)
The job was canceled because "v22" failed.
|
spawn with reporter:
packages/github/tests/index.test.js#L24
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
'Object {\n' +
' "exitCode": 1,\n' +
...
'::debug::completed running is ok\n' +
'::debug::starting to run fails\n' +
+ "::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.<anonymous> (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}\n" +
- "::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.<anonymous> (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}\n" +
'::debug::starting to run is a diagnostic\n' +
'::debug::completed running is a diagnostic\n' +
'::notice file=tests/example.js,line=11,col=3::this is a diagnostic\n' +
'::debug::starting to run should fail\n' +
+ "::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.<anonymous> (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}\n" +
- "::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.<anonymous> (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}\n" +
'::debug::starting to run more tests\n' +
|
spawn with reporter - esm:
packages/github/tests/index.test.js#L32
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
+ 'Object {\n' +
+ ' "exitCode": 1,\n' +
+ ' "stderr": "",\n' +
+ ' "stdout": "::debug::starting to run should fail\n' +
+ "::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.<anonymous> (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}\n" +
+ '::debug::starting to run should pass\n' +
+ '::debug::completed running should pass\n' +
+ '::group::Test results (1 passed, 1 failed)\n' +
+ '::notice::Total Tests: 2%0ASuites π: 0%0APassed β
: 1%0AFailed β: 1%0ACanceled π«: 0%0ASkipped βοΈ: 0%0ATodo π: 0%0ADuration π: *ms\n' +
+ '::endgroup::\n' +
+ '",\n' +
+ '}'
- '<h1>Test Results</h1>\n' +
- '<table><tr><td>Total Tests</td><td>8</td></tr><tr><td>Suites π</td><td>2</td></tr><tr><td>Passed β
</td><td>4</td></tr><tr><td>Failed β</td><td>2</td></tr><tr><td>Canceled π«</td><td>0</td></tr><tr><td>Skipped βοΈ</td><td>1</td></tr><tr><td>Todo π</td><td>1</td></tr><tr><td>Duration π</td><td>*ms</td></tr></table>\n'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ 'Object {\n' +
+ ' "exitCode": 1,\n' +
+ ' "stderr": "",\n' +
+ ' "stdout": "::debug::starting to run should fail\n' +
+ "::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.<anonymous> (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}\n" +
+ '::debug::starting to run should pass\n' +
+ '::debug::completed running should pass\n' +
+ '::group::Test results (1 passed, 1 failed)\n' +
+ '::notice::Total Tests: 2%0ASuites π: 0%0APassed β
: 1%0AFailed β: 1%0ACanceled π«: 0%0ASkipped βοΈ: 0%0ATodo π: 0%0ADuration π: *ms\n' +
+ '::endgroup::\n' +
+ '",\n' +
+ '}'
- '<h1>Test Results</h1>\n' +
- '<table><tr><td>Total Tests</td><td>8</td></tr><tr><td>Suites π</td><td>2</td></tr><tr><td>Passed β
</td><td>4</td></tr><tr><td>Failed β</td><td>2</td></tr><tr><td>Canceled π«</td><td>0</td></tr><tr><td>Skipped βοΈ</td><td>1</td></tr><tr><td>Todo π</td><td>1</td></tr><tr><td>Duration π</td><td>*ms</td></tr></table>\n'
at test (/home/runner/work/reporters/reporters/tests/utils.js:37:12)
at async TestContext.<anonymous> (/home/runner/work/reporters/reporters/packages/github/tests/index.test.js:32:5)
at async Test.run (node:internal/test_runner/test:931:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: `Object {\n "exitCode": 1,\n "stderr": "",\n "stdout": "::debug::starting to run should fail\n::error title=shou
|
should noop if not in github actions:
packages/github/tests/index.test.js#L37
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
+ 'Object {\n "exitCode": 1,\n "stderr": "",\n "stdout": "",\n}'
- 'Object {\n' +
- ' "exitCode": 1,\n' +
- ' "stderr": "",\n' +
- ' "stdout": "::debug::starting to run should fail\n' +
- "::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.<anonymous> (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}\n" +
- '::debug::starting to run should pass\n' +
- '::debug::completed running should pass\n' +
- '::group::Test results (1 passed, 1 failed)\n' +
- '::notice::Total Tests: 2%0ASuites π: 0%0APassed β
: 1%0AFailed β: 1%0ACanceled π«: 0%0ASkipped βοΈ: 0%0ATodo π: 0%0ADuration π: *ms\n' +
- '::endgroup::\n' +
- '",\n' +
- '}'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ 'Object {\n "exitCode": 1,\n "stderr": "",\n "stdout": "",\n}'
- 'Object {\n' +
- ' "exitCode": 1,\n' +
- ' "stderr": "",\n' +
- ' "stdout": "::debug::starting to run should fail\n' +
- "::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.<anonymous> (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}\n" +
- '::debug::starting to run should pass\n' +
- '::debug::completed running should pass\n' +
- '::group::Test results (1 passed, 1 failed)\n' +
- '::notice::Total Tests: 2%0ASuites π: 0%0APassed β
: 1%0AFailed β: 1%0ACanceled π«: 0%0ASkipped βοΈ: 0%0ATodo π: 0%0ADuration π: *ms\n' +
- '::endgroup::\n' +
- '",\n' +
- '}'
at test (/home/runner/work/reporters/reporters/tests/utils.js:37:12)
at async TestContext.<anonymous> (/home/runner/work/reporters/reporters/packages/github/tests/index.test.js:37:5)
at async Test.run (node:internal/test_runner/test:931:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Object {\n "exitCode": 1,\n "stderr": "",\n "stdout": "",\n}',
expected: `Object {\n "exitCode": 1,\n "stderr": "",\n "stdout": "::debug::starting to run should fail\n::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.<anonymous> (file://CWD/tests/example.mjs:5:3)%0A at Test.runInAsyncScope (node:async_hooks:211:14)%0A at Test.run (node:internal/test_run
|
tests (v22)
Process completed with exit code 1.
|
tests (v18):
packages/mocha/index.js#L138
Unexpected console statement
|
tests (v18):
packages/mocha/index.js#L142
Unexpected console statement
|
tests (v18):
packages/mocha/tests/customReporter/reporter.js#L11
Unexpected console statement
|
tests (v18):
packages/testwatch/index.js#L16
Unexpected console statement
|
tests (v18):
packages/testwatch/index.js#L83
Unexpected unnamed async generator function
|
tests (v18):
packages/testwatch/index.js#L248
Unexpected console statement
|
tests (v20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests (v20):
packages/mocha/index.js#L138
Unexpected console statement
|
tests (v20):
packages/mocha/index.js#L142
Unexpected console statement
|
tests (v20):
packages/mocha/tests/customReporter/reporter.js#L11
Unexpected console statement
|
tests (v20):
packages/testwatch/index.js#L16
Unexpected console statement
|
tests (v20):
packages/testwatch/index.js#L83
Unexpected unnamed async generator function
|
tests (v20):
packages/testwatch/index.js#L248
Unexpected console statement
|
tests (v22)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests (v22):
packages/mocha/index.js#L138
Unexpected console statement
|
tests (v22):
packages/mocha/index.js#L142
Unexpected console statement
|
tests (v22):
packages/mocha/tests/customReporter/reporter.js#L11
Unexpected console statement
|
tests (v22):
packages/testwatch/index.js#L16
Unexpected console statement
|
tests (v22):
packages/testwatch/index.js#L83
Unexpected unnamed async generator function
|
tests (v22):
packages/testwatch/index.js#L248
Unexpected console statement
|
tests (v18)
Total Tests: 2
Suites π: 0
Passed β
: 2
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 334.684ms
|
tests (v18)
Total Tests: 4
Suites π: 0
Passed β
: 4
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 351.614ms
|
tests (v18)
Total Tests: 17
Suites π: 3
Passed β
: 17
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 2228.268ms
|
tests (v18)
Total Tests: 1
Suites π: 0
Passed β
: 1
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 1237.969ms
|
tests (v18)
Total Tests: 3
Suites π: 1
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 562.272ms
|
tests (v18)
Total Tests: 7
Suites π: 0
Passed β
: 7
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 1321.401ms
|
tests (v18)
Total Tests: 2
Suites π: 0
Passed β
: 2
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 309.814ms
|
tests (v20)
Total Tests: 2
Suites π: 0
Passed β
: 2
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 294.847ms
|
tests (v20)
Total Tests: 4
Suites π: 0
Passed β
: 4
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 312.646ms
|
tests (v20)
Total Tests: 17
Suites π: 3
Passed β
: 17
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 2018.656ms
|
tests (v20)
Total Tests: 1
Suites π: 0
Passed β
: 1
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 1199.274ms
|
tests (v20)
Total Tests: 3
Suites π: 1
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 482.855ms
|
tests (v20)
Total Tests: 7
Suites π: 0
Passed β
: 7
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 1173.605ms
|
tests (v20)
Total Tests: 2
Suites π: 0
Passed β
: 2
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 256.165ms
|
tests (v22)
Total Tests: 2
Suites π: 0
Passed β
: 2
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 297.372ms
|
tests (v22)
Total Tests: 4
Suites π: 0
Passed β
: 4
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 315.012ms
|
tests (v22)
Total Tests: 17
Suites π: 3
Passed β
: 17
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 2138.362ms
|
tests (v22)
Total Tests: 1
Suites π: 0
Passed β
: 1
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 1210.083ms
|
tests (v22)
Total Tests: 3
Suites π: 1
Passed β
: 0
Failed β: 3
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 518.731ms
|
tests (v22)
Total Tests: 7
Suites π: 0
Passed β
: 7
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 1312.031ms
|
tests (v22)
Total Tests: 2
Suites π: 0
Passed β
: 2
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 270.264ms
|