test_runner: match dotfiles in default coverage exclude #63401
+49
−5
Annotations
2 errors and 1 notice
|
Test
Process completed with exit code 2.
|
|
Test:
test/parallel/test-runner-coverage-default-exclusion.mjs#L85
--- stdout ---
Test failure: 'should exclude test files from coverage by default'
Location: test/parallel/test-runner-coverage-default-exclusion.mjs:60:3
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(result.stdout.toString().includes(report))
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-coverage-default-exclusion.mjs:85:5)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1366:25)
at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Test failure: 'should exclude ts test files'
Location: test/parallel/test-runner-coverage-default-exclusion.mjs:89:3
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(result.stdout.toString().includes(report))
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-coverage-default-exclusion.mjs:114:5)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1366:25)
at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Test failure: 'should exclude dotfile test files from coverage by default'
Location: test/parallel/test-runner-coverage-default-exclusion.mjs:118:3
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(result.stdout.toString().includes(report))
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-coverage-default-exclusion.mjs:144:5)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1366:25)
at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
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-runner-coverage-default-exclusion.mjs
|
|
Post Set up sccache
71% - 3555 hits, 1418 misses, 0 errors
|
background
wait
wait-all
cancel
Loading