doc: update screenshots #291
Annotations
3 errors, 3 warnings, and 2 notices
fails:
tests/example.js#L7
[Error [ERR_TEST_FAILURE]: this is an error] {
failureType: 'testCodeFailure',
cause: Error: this is an error
at TestContext.<anonymous> (/home/runner/work/reporters/reporters/tests/example.js:7:11)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:573:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:318:18)
at Test.postRun (node:internal/test_runner/test:642:19)
at Test.run (node:internal/test_runner/test:601:10)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:810:7)
at async startSubtest (node:internal/test_runner/harness:202:3),
code: 'ERR_TEST_FAILURE'
}
|
should fail:
tests/example.js#L10
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert(false)
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(false)
at TestContext.<anonymous> (/home/runner/work/reporters/reporters/tests/example.js:10:31)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:573:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:318:18)
at Test.postRun (node:internal/test_runner/test:642:19)
at Test.run (node:internal/test_runner/test:601:10)
at async Suite.processPendingSubtests (node:internal/test_runner/test:318:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
},
code: 'ERR_TEST_FAILURE'
}
|
tests (v18)
Process completed with exit code 1.
|
tests (v18):
tests/example.js#L1
this is a diagnostic
|
tests (v18)
Total Tests: 7
Suites 📂: 2
Passed ✅: 3
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 1
Duration 🕐: 132.405ms
|
tests (v18):
packages/testwatch/index.js#L14
Unexpected console statement
|
tests (v18):
packages/testwatch/index.js#L81
Unexpected unnamed async generator function
|
tests (v18):
packages/testwatch/index.js#L246
Unexpected console statement
|