From 57c84d3573a71e4ab9a172f1e540c7010915fa3a Mon Sep 17 00:00:00 2001 From: il3ven Date: Thu, 21 Apr 2022 00:04:24 +0530 Subject: [PATCH 1/9] remove logs from test failure summary Also update .log files in test-tap. --- lib/reporters/default.js | 3 --- test-tap/reporters/default.failfast.v14.log | 1 - test-tap/reporters/default.failfast2.v14.log | 1 - test-tap/reporters/default.regular.v14.log | 16 ---------------- 4 files changed, 21 deletions(-) diff --git a/lib/reporters/default.js b/lib/reporters/default.js index bc74d5c02..49f28f009 100644 --- a/lib/reporters/default.js +++ b/lib/reporters/default.js @@ -515,9 +515,6 @@ export default class Reporter { writeFailure(event) { this.lineWriter.writeLine(colors.title(this.prefixTitle(event.testFile, event.title))); - if (!this.writeLogs(event, true)) { - this.lineWriter.writeLine(); - } this.writeErr(event); } diff --git a/test-tap/reporters/default.failfast.v14.log b/test-tap/reporters/default.failfast.v14.log index 831e81f6c..f5ffaf7a0 100644 --- a/test-tap/reporters/default.failfast.v14.log +++ b/test-tap/reporters/default.failfast.v14.log @@ -5,7 +5,6 @@ ─ a › fails - a.cjs:3 2: diff --git a/test-tap/reporters/default.failfast2.v14.log b/test-tap/reporters/default.failfast2.v14.log index 22d9cd398..ad834272c 100644 --- a/test-tap/reporters/default.failfast2.v14.log +++ b/test-tap/reporters/default.failfast2.v14.log @@ -5,7 +5,6 @@ ─ a › fails - a.cjs:3 2: diff --git a/test-tap/reporters/default.regular.v14.log b/test-tap/reporters/default.regular.v14.log index e30d6166f..f259e2bcd 100644 --- a/test-tap/reporters/default.regular.v14.log +++ b/test-tap/reporters/default.regular.v14.log @@ -118,7 +118,6 @@ ─ nested-objects › format with max depth 4 - nested-objects.cjs:29 28: }; @@ -147,7 +146,6 @@ nested-objects › format like with max depth 4 - nested-objects.cjs:55 54: }; @@ -170,7 +168,6 @@ output-in-hook › failing test - output-in-hook.cjs:34 33: test('failing test', t => { @@ -184,7 +181,6 @@ test › fails - test.cjs:9 8: @@ -198,16 +194,11 @@ test › no longer failing - Error: Test was expected to fail, but succeeded, you should stop marking the test as failing test › logs - - ℹ hello - ℹ world - test.cjs:18 17: t.log('world'); @@ -221,7 +212,6 @@ test › formatted - test.cjs:22 21: test('formatted', t => { @@ -238,7 +228,6 @@ test › implementation throws non-error - Error thrown in test: null @@ -246,7 +235,6 @@ traces-in-t-throws › throws - traces-in-t-throws.cjs:12 11: test('throws', t => { @@ -270,7 +258,6 @@ traces-in-t-throws › notThrows - traces-in-t-throws.cjs:16 15: test('notThrows', t => { @@ -290,7 +277,6 @@ traces-in-t-throws › notThrowsAsync - traces-in-t-throws.cjs:20 19: test('notThrowsAsync', t => { @@ -310,7 +296,6 @@ traces-in-t-throws › throwsAsync - traces-in-t-throws.cjs:24 23: test('throwsAsync', t => { @@ -330,7 +315,6 @@ traces-in-t-throws › throwsAsync different error - traces-in-t-throws.cjs:27 26: From 1f8df37fcd7e00639a7e6e8805cb36d1dd322e21 Mon Sep 17 00:00:00 2001 From: il3ven Date: Thu, 21 Apr 2022 23:38:37 +0530 Subject: [PATCH 2/9] update .log files in test-tap/reporters Used `UPDATE_REPORTER_LOG=true npx tap test-tap/reporters/*` to update them. --- test-tap/reporters/default.edgecases.v12.log | 11 ++ test-tap/reporters/default.edgecases.v16.log | 9 ++ test-tap/reporters/default.edgecases.v17.log | 9 ++ test-tap/reporters/default.failfast.v12.log | 9 +- test-tap/reporters/default.failfast.v16.log | 9 +- test-tap/reporters/default.failfast.v17.log | 9 +- test-tap/reporters/default.failfast2.v12.log | 10 +- test-tap/reporters/default.failfast2.v16.log | 10 +- test-tap/reporters/default.failfast2.v17.log | 10 +- test-tap/reporters/default.regular.v12.log | 119 +++++++++++++-- test-tap/reporters/default.regular.v16.log | 119 +++++++++++++-- test-tap/reporters/default.regular.v17.log | 119 +++++++++++++-- test-tap/reporters/tap.edgecases.v12.log | 27 +++- test-tap/reporters/tap.edgecases.v16.log | 23 ++- test-tap/reporters/tap.edgecases.v17.log | 23 ++- test-tap/reporters/tap.failfast.v12.log | 11 +- test-tap/reporters/tap.failfast.v16.log | 11 +- test-tap/reporters/tap.failfast.v17.log | 11 +- test-tap/reporters/tap.failfast2.v12.log | 12 +- test-tap/reporters/tap.failfast2.v16.log | 12 +- test-tap/reporters/tap.failfast2.v17.log | 12 +- test-tap/reporters/tap.regular.v12.log | 149 +++++++++++++++++-- test-tap/reporters/tap.regular.v16.log | 149 +++++++++++++++++-- test-tap/reporters/tap.regular.v17.log | 149 +++++++++++++++++-- 24 files changed, 936 insertions(+), 96 deletions(-) diff --git a/test-tap/reporters/default.edgecases.v12.log b/test-tap/reporters/default.edgecases.v12.log index bbbe457d2..993ac4f47 100644 --- a/test-tap/reporters/default.edgecases.v12.log +++ b/test-tap/reporters/default.edgecases.v12.log @@ -11,6 +11,11 @@ SyntaxError: Unexpected token 'do' + › SyntaxError: Unexpected token 'do' + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) + ---tty-stream-chunk-separator ✖ ast-syntax-error.cjs exited with a non-zero exit code: 1 ---tty-stream-chunk-separator @@ -28,6 +33,9 @@ TypeError: test is not a function › Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -47,6 +55,9 @@ Error: throws › Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/default.edgecases.v16.log b/test-tap/reporters/default.edgecases.v16.log index e39930d14..5a605cd0d 100644 --- a/test-tap/reporters/default.edgecases.v16.log +++ b/test-tap/reporters/default.edgecases.v16.log @@ -7,6 +7,9 @@ SyntaxError: Unexpected token 'do' + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + ---tty-stream-chunk-separator ✖ ast-syntax-error.cjs exited with a non-zero exit code: 1 ---tty-stream-chunk-separator @@ -24,6 +27,9 @@ TypeError: test is not a function › Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -43,6 +49,9 @@ Error: throws › Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/default.edgecases.v17.log b/test-tap/reporters/default.edgecases.v17.log index e39930d14..5a605cd0d 100644 --- a/test-tap/reporters/default.edgecases.v17.log +++ b/test-tap/reporters/default.edgecases.v17.log @@ -7,6 +7,9 @@ SyntaxError: Unexpected token 'do' + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + ---tty-stream-chunk-separator ✖ ast-syntax-error.cjs exited with a non-zero exit code: 1 ---tty-stream-chunk-separator @@ -24,6 +27,9 @@ TypeError: test is not a function › Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -43,6 +49,9 @@ Error: throws › Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/default.failfast.v12.log b/test-tap/reporters/default.failfast.v12.log index 831e81f6c..71f604be1 100644 --- a/test-tap/reporters/default.failfast.v12.log +++ b/test-tap/reporters/default.failfast.v12.log @@ -5,7 +5,6 @@ ─ a › fails - a.cjs:3 2: @@ -14,7 +13,15 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast/a.cjs:3:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast.v16.log b/test-tap/reporters/default.failfast.v16.log index 831e81f6c..71f604be1 100644 --- a/test-tap/reporters/default.failfast.v16.log +++ b/test-tap/reporters/default.failfast.v16.log @@ -5,7 +5,6 @@ ─ a › fails - a.cjs:3 2: @@ -14,7 +13,15 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast/a.cjs:3:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast.v17.log b/test-tap/reporters/default.failfast.v17.log index 831e81f6c..71f604be1 100644 --- a/test-tap/reporters/default.failfast.v17.log +++ b/test-tap/reporters/default.failfast.v17.log @@ -5,7 +5,6 @@ ─ a › fails - a.cjs:3 2: @@ -14,7 +13,15 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast/a.cjs:3:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast2.v12.log b/test-tap/reporters/default.failfast2.v12.log index 22d9cd398..58a30f842 100644 --- a/test-tap/reporters/default.failfast2.v12.log +++ b/test-tap/reporters/default.failfast2.v12.log @@ -5,7 +5,6 @@ ─ a › fails - a.cjs:3 2: @@ -14,7 +13,16 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast2/a.cjs:3:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:497:24 + › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast2.v16.log b/test-tap/reporters/default.failfast2.v16.log index 22d9cd398..58a30f842 100644 --- a/test-tap/reporters/default.failfast2.v16.log +++ b/test-tap/reporters/default.failfast2.v16.log @@ -5,7 +5,6 @@ ─ a › fails - a.cjs:3 2: @@ -14,7 +13,16 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast2/a.cjs:3:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:497:24 + › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast2.v17.log b/test-tap/reporters/default.failfast2.v17.log index 22d9cd398..58a30f842 100644 --- a/test-tap/reporters/default.failfast2.v17.log +++ b/test-tap/reporters/default.failfast2.v17.log @@ -5,7 +5,6 @@ ─ a › fails - a.cjs:3 2: @@ -14,7 +13,16 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast2/a.cjs:3:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:497:24 + › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.regular.v12.log b/test-tap/reporters/default.regular.v12.log index e30d6166f..e1e5061df 100644 --- a/test-tap/reporters/default.regular.v12.log +++ b/test-tap/reporters/default.regular.v12.log @@ -11,6 +11,9 @@ TypeError: test.serial.test is not a function › Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -108,6 +111,12 @@ Error: Can’t catch me › passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) ---tty-stream-chunk-separator Unhandled rejection in unhandled-rejection.cjs @@ -118,7 +127,6 @@ ─ nested-objects › format with max depth 4 - nested-objects.cjs:29 28: }; @@ -142,12 +150,20 @@ + }, } + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/nested-objects.cjs:29:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) nested-objects › format like with max depth 4 - nested-objects.cjs:55 54: }; @@ -165,12 +181,20 @@ }, } + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.like (file://lib/assert.js:425:9) › test-tap/fixture/report/regular/nested-objects.cjs:55:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) output-in-hook › failing test - output-in-hook.cjs:34 33: test('failing test', t => { @@ -179,12 +203,20 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/output-in-hook.cjs:34:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › fails - test.cjs:9 8: @@ -193,21 +225,31 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:9:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › no longer failing - Error: Test was expected to fail, but succeeded, you should stop marking the test as failing + › Test.finish (file://lib/test.js:596:28) + › async Runner.runSingle (file://lib/runner.js:285:18) + › async Runner.runTest (file://lib/runner.js:361:19) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) - test › logs - - ℹ hello - ℹ world + test › logs test.cjs:18 17: t.log('world'); @@ -216,12 +258,20 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:18:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › formatted - test.cjs:22 21: test('formatted', t => { @@ -233,20 +283,35 @@ - 'foo' + 'bar' + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/test.cjs:22:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › implementation throws non-error - Error thrown in test: null + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › Test.run (file://lib/test.js:522:24) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) - traces-in-t-throws › throws + traces-in-t-throws › throws traces-in-t-throws.cjs:12 11: test('throws', t => { @@ -265,12 +330,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) + › ExecutionContext.throws (file://lib/assert.js:464:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › notThrows - traces-in-t-throws.cjs:16 15: test('notThrows', t => { @@ -285,12 +354,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 + › ExecutionContext.notThrows (file://lib/assert.js:607:5) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › notThrowsAsync - traces-in-t-throws.cjs:20 19: test('notThrowsAsync', t => { @@ -305,12 +378,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 + › ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › throwsAsync - traces-in-t-throws.cjs:24 23: test('throwsAsync', t => { @@ -325,12 +402,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) + › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › throwsAsync different error - traces-in-t-throws.cjs:27 26: @@ -348,7 +429,13 @@ Function TypeError {} › returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) + › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 ─ diff --git a/test-tap/reporters/default.regular.v16.log b/test-tap/reporters/default.regular.v16.log index e30d6166f..e1e5061df 100644 --- a/test-tap/reporters/default.regular.v16.log +++ b/test-tap/reporters/default.regular.v16.log @@ -11,6 +11,9 @@ TypeError: test.serial.test is not a function › Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -108,6 +111,12 @@ Error: Can’t catch me › passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) ---tty-stream-chunk-separator Unhandled rejection in unhandled-rejection.cjs @@ -118,7 +127,6 @@ ─ nested-objects › format with max depth 4 - nested-objects.cjs:29 28: }; @@ -142,12 +150,20 @@ + }, } + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/nested-objects.cjs:29:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) nested-objects › format like with max depth 4 - nested-objects.cjs:55 54: }; @@ -165,12 +181,20 @@ }, } + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.like (file://lib/assert.js:425:9) › test-tap/fixture/report/regular/nested-objects.cjs:55:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) output-in-hook › failing test - output-in-hook.cjs:34 33: test('failing test', t => { @@ -179,12 +203,20 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/output-in-hook.cjs:34:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › fails - test.cjs:9 8: @@ -193,21 +225,31 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:9:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › no longer failing - Error: Test was expected to fail, but succeeded, you should stop marking the test as failing + › Test.finish (file://lib/test.js:596:28) + › async Runner.runSingle (file://lib/runner.js:285:18) + › async Runner.runTest (file://lib/runner.js:361:19) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) - test › logs - - ℹ hello - ℹ world + test › logs test.cjs:18 17: t.log('world'); @@ -216,12 +258,20 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:18:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › formatted - test.cjs:22 21: test('formatted', t => { @@ -233,20 +283,35 @@ - 'foo' + 'bar' + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/test.cjs:22:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › implementation throws non-error - Error thrown in test: null + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › Test.run (file://lib/test.js:522:24) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) - traces-in-t-throws › throws + traces-in-t-throws › throws traces-in-t-throws.cjs:12 11: test('throws', t => { @@ -265,12 +330,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) + › ExecutionContext.throws (file://lib/assert.js:464:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › notThrows - traces-in-t-throws.cjs:16 15: test('notThrows', t => { @@ -285,12 +354,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 + › ExecutionContext.notThrows (file://lib/assert.js:607:5) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › notThrowsAsync - traces-in-t-throws.cjs:20 19: test('notThrowsAsync', t => { @@ -305,12 +378,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 + › ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › throwsAsync - traces-in-t-throws.cjs:24 23: test('throwsAsync', t => { @@ -325,12 +402,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) + › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › throwsAsync different error - traces-in-t-throws.cjs:27 26: @@ -348,7 +429,13 @@ Function TypeError {} › returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) + › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 ─ diff --git a/test-tap/reporters/default.regular.v17.log b/test-tap/reporters/default.regular.v17.log index e30d6166f..e1e5061df 100644 --- a/test-tap/reporters/default.regular.v17.log +++ b/test-tap/reporters/default.regular.v17.log @@ -11,6 +11,9 @@ TypeError: test.serial.test is not a function › Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) + › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) + › load (file://lib/worker/base.js:149:10) + › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -108,6 +111,12 @@ Error: Can’t catch me › passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) ---tty-stream-chunk-separator Unhandled rejection in unhandled-rejection.cjs @@ -118,7 +127,6 @@ ─ nested-objects › format with max depth 4 - nested-objects.cjs:29 28: }; @@ -142,12 +150,20 @@ + }, } + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/nested-objects.cjs:29:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) nested-objects › format like with max depth 4 - nested-objects.cjs:55 54: }; @@ -165,12 +181,20 @@ }, } + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.like (file://lib/assert.js:425:9) › test-tap/fixture/report/regular/nested-objects.cjs:55:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) output-in-hook › failing test - output-in-hook.cjs:34 33: test('failing test', t => { @@ -179,12 +203,20 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/output-in-hook.cjs:34:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › fails - test.cjs:9 8: @@ -193,21 +225,31 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:9:22 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › no longer failing - Error: Test was expected to fail, but succeeded, you should stop marking the test as failing + › Test.finish (file://lib/test.js:596:28) + › async Runner.runSingle (file://lib/runner.js:285:18) + › async Runner.runTest (file://lib/runner.js:361:19) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) - test › logs - - ℹ hello - ℹ world + test › logs test.cjs:18 17: t.log('world'); @@ -216,12 +258,20 @@ Test failed via `t.fail()` + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:18:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › formatted - test.cjs:22 21: test('formatted', t => { @@ -233,20 +283,35 @@ - 'foo' + 'bar' + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/test.cjs:22:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) test › implementation throws non-error - Error thrown in test: null + › getErrorWithLongStackTrace (file://lib/assert.js:71:16) + › new AssertionError (file://lib/assert.js:51:63) + › Test.run (file://lib/test.js:522:24) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 + › async Runner.start (file://lib/runner.js:534:15) - traces-in-t-throws › throws + traces-in-t-throws › throws traces-in-t-throws.cjs:12 11: test('throws', t => { @@ -265,12 +330,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) + › ExecutionContext.throws (file://lib/assert.js:464:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › notThrows - traces-in-t-throws.cjs:16 15: test('notThrows', t => { @@ -285,12 +354,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 + › ExecutionContext.notThrows (file://lib/assert.js:607:5) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › notThrowsAsync - traces-in-t-throws.cjs:20 19: test('notThrowsAsync', t => { @@ -305,12 +378,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 + › ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › throwsAsync - traces-in-t-throws.cjs:24 23: test('throwsAsync', t => { @@ -325,12 +402,16 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) + › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) traces-in-t-throws › throwsAsync different error - traces-in-t-throws.cjs:27 26: @@ -348,7 +429,13 @@ Function TypeError {} › returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) + › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 + › Test.callFn (file://lib/test.js:507:21) + › Test.run (file://lib/test.js:520:23) + › Runner.runSingle (file://lib/runner.js:285:33) + › Runner.runTest (file://lib/runner.js:361:30) + › async file://lib/runner.js:526:21 ─ diff --git a/test-tap/reporters/tap.edgecases.v12.log b/test-tap/reporters/tap.edgecases.v12.log index 0b7bcf535..bf68d9b69 100644 --- a/test-tap/reporters/tap.edgecases.v12.log +++ b/test-tap/reporters/tap.edgecases.v12.log @@ -8,7 +8,15 @@ SyntaxError: Unexpected token 'do' --- name: SyntaxError message: Unexpected token 'do' - at: '' + at: >- + SyntaxError: Unexpected token 'do' + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 2 - ast-syntax-error.cjs exited with a non-zero exit code: 1 @@ -22,6 +30,13 @@ not ok 4 - TypeError: test is not a function at: >- Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 5 - import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -32,7 +47,15 @@ not ok 7 - Error: throws --- name: Error message: throws - at: 'Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7)' + at: >- + Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 8 - throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/tap.edgecases.v16.log b/test-tap/reporters/tap.edgecases.v16.log index ba4f57781..9fc48892e 100644 --- a/test-tap/reporters/tap.edgecases.v16.log +++ b/test-tap/reporters/tap.edgecases.v16.log @@ -4,7 +4,11 @@ not ok 1 - SyntaxError: Unexpected token 'do' --- name: SyntaxError message: Unexpected token 'do' - at: '' + at: >- + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) ... ---tty-stream-chunk-separator not ok 2 - ast-syntax-error.cjs exited with a non-zero exit code: 1 @@ -18,6 +22,13 @@ not ok 4 - TypeError: test is not a function at: >- Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 5 - import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -28,7 +39,15 @@ not ok 7 - Error: throws --- name: Error message: throws - at: 'Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7)' + at: >- + Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 8 - throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/tap.edgecases.v17.log b/test-tap/reporters/tap.edgecases.v17.log index ba4f57781..9fc48892e 100644 --- a/test-tap/reporters/tap.edgecases.v17.log +++ b/test-tap/reporters/tap.edgecases.v17.log @@ -4,7 +4,11 @@ not ok 1 - SyntaxError: Unexpected token 'do' --- name: SyntaxError message: Unexpected token 'do' - at: '' + at: >- + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) ... ---tty-stream-chunk-separator not ok 2 - ast-syntax-error.cjs exited with a non-zero exit code: 1 @@ -18,6 +22,13 @@ not ok 4 - TypeError: test is not a function at: >- Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 5 - import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -28,7 +39,15 @@ not ok 7 - Error: throws --- name: Error message: throws - at: 'Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7)' + at: >- + Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 8 - throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/tap.failfast.v12.log b/test-tap/reporters/tap.failfast.v12.log index 5b44649f1..595193cc9 100644 --- a/test-tap/reporters/tap.failfast.v12.log +++ b/test-tap/reporters/tap.failfast.v12.log @@ -5,7 +5,16 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/failfast/a.cjs:3:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/failfast/a.cjs:3:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator diff --git a/test-tap/reporters/tap.failfast.v16.log b/test-tap/reporters/tap.failfast.v16.log index 5b44649f1..595193cc9 100644 --- a/test-tap/reporters/tap.failfast.v16.log +++ b/test-tap/reporters/tap.failfast.v16.log @@ -5,7 +5,16 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/failfast/a.cjs:3:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/failfast/a.cjs:3:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator diff --git a/test-tap/reporters/tap.failfast.v17.log b/test-tap/reporters/tap.failfast.v17.log index 5b44649f1..595193cc9 100644 --- a/test-tap/reporters/tap.failfast.v17.log +++ b/test-tap/reporters/tap.failfast.v17.log @@ -5,7 +5,16 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/failfast/a.cjs:3:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/failfast/a.cjs:3:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator diff --git a/test-tap/reporters/tap.failfast2.v12.log b/test-tap/reporters/tap.failfast2.v12.log index c10c8cd9f..f3623d84b 100644 --- a/test-tap/reporters/tap.failfast2.v12.log +++ b/test-tap/reporters/tap.failfast2.v12.log @@ -5,7 +5,17 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/failfast2/a.cjs:3:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/failfast2/a.cjs:3:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:497:24 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # 1 test remaining in a.cjs diff --git a/test-tap/reporters/tap.failfast2.v16.log b/test-tap/reporters/tap.failfast2.v16.log index c10c8cd9f..f3623d84b 100644 --- a/test-tap/reporters/tap.failfast2.v16.log +++ b/test-tap/reporters/tap.failfast2.v16.log @@ -5,7 +5,17 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/failfast2/a.cjs:3:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/failfast2/a.cjs:3:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:497:24 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # 1 test remaining in a.cjs diff --git a/test-tap/reporters/tap.failfast2.v17.log b/test-tap/reporters/tap.failfast2.v17.log index c10c8cd9f..f3623d84b 100644 --- a/test-tap/reporters/tap.failfast2.v17.log +++ b/test-tap/reporters/tap.failfast2.v17.log @@ -5,7 +5,17 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/failfast2/a.cjs:3:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/failfast2/a.cjs:3:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:497:24 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # 1 test remaining in a.cjs diff --git a/test-tap/reporters/tap.regular.v12.log b/test-tap/reporters/tap.regular.v12.log index c0379a149..f108e1bca 100644 --- a/test-tap/reporters/tap.regular.v12.log +++ b/test-tap/reporters/tap.regular.v12.log @@ -4,7 +4,15 @@ not ok 1 - TypeError: test.serial.test is not a function --- name: TypeError message: test.serial.test is not a function - at: 'Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13)' + at: >- + Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 2 - bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -29,7 +37,17 @@ not ok 3 - nested-objects › format with max depth 4 + }, + }, } - at: 'test-tap/fixture/report/regular/nested-objects.cjs:29:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.deepEqual (file://lib/assert.js:355:9) + test-tap/fixture/report/regular/nested-objects.cjs:29:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 4 - nested-objects › format like with max depth 4 @@ -46,7 +64,17 @@ not ok 4 - nested-objects › format like with max depth 4 }, }, } - at: 'test-tap/fixture/report/regular/nested-objects.cjs:55:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.like (file://lib/assert.js:425:9) + test-tap/fixture/report/regular/nested-objects.cjs:55:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # output-in-hook › before hook @@ -70,7 +98,17 @@ not ok 6 - output-in-hook › failing test name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/output-in-hook.cjs:34:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/output-in-hook.cjs:34:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # output-in-hook › afterEach hook for passing test @@ -100,7 +138,17 @@ not ok 10 - test › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/test.cjs:9:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/test.cjs:9:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator ok 11 - test › known failure @@ -111,7 +159,12 @@ not ok 12 - test › no longer failing message: >- Test was expected to fail, but succeeded, you should stop marking the test as failing - at: '' + at: |- + Test.finish (file://lib/test.js:596:28) + async Runner.runSingle (file://lib/runner.js:285:18) + async Runner.runTest (file://lib/runner.js:361:19) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 13 - test › logs @@ -121,7 +174,17 @@ not ok 13 - test › logs name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/test.cjs:18:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/test.cjs:18:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 14 - test › formatted @@ -132,7 +195,17 @@ not ok 14 - test › formatted 'Difference:': |- - 'foo' + 'bar' - at: 'test-tap/fixture/report/regular/test.cjs:22:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.deepEqual (file://lib/assert.js:355:9) + test-tap/fixture/report/regular/test.cjs:22:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 15 - test › implementation throws non-error @@ -141,7 +214,14 @@ not ok 15 - test › implementation throws non-error message: Error thrown in test values: 'Error thrown in test:': 'null' - at: '' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + Test.run (file://lib/test.js:522:24) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 16 - traces-in-t-throws › throws @@ -160,7 +240,17 @@ not ok 16 - traces-in-t-throws › throws t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) + ExecutionContext.throws (file://lib/assert.js:464:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 17 - traces-in-t-throws › notThrows @@ -175,7 +265,12 @@ not ok 17 - traces-in-t-throws › notThrows at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 + ExecutionContext.notThrows (file://lib/assert.js:607:5) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 18 - traces-in-t-throws › notThrowsAsync @@ -190,7 +285,12 @@ not ok 18 - traces-in-t-throws › notThrowsAsync at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 + ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 19 - traces-in-t-throws › throwsAsync @@ -208,7 +308,17 @@ not ok 19 - traces-in-t-throws › throwsAsync t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) + ExecutionContext.throwsAsync (file://lib/assert.js:565:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 20 - traces-in-t-throws › throwsAsync different error @@ -225,7 +335,19 @@ not ok 20 - traces-in-t-throws › throwsAsync different error returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) + ExecutionContext.throwsAsync (file://lib/assert.js:565:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) + + async file://lib/runner.js:526:21 ... ---tty-stream-chunk-separator ok 21 - uncaught-exception › passes @@ -249,7 +371,14 @@ not ok 26 - Error: Can’t catch me --- name: Error message: Can’t catch me - at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17)' + at: |- + passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 27 - unhandled-rejection diff --git a/test-tap/reporters/tap.regular.v16.log b/test-tap/reporters/tap.regular.v16.log index c0379a149..f108e1bca 100644 --- a/test-tap/reporters/tap.regular.v16.log +++ b/test-tap/reporters/tap.regular.v16.log @@ -4,7 +4,15 @@ not ok 1 - TypeError: test.serial.test is not a function --- name: TypeError message: test.serial.test is not a function - at: 'Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13)' + at: >- + Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 2 - bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -29,7 +37,17 @@ not ok 3 - nested-objects › format with max depth 4 + }, + }, } - at: 'test-tap/fixture/report/regular/nested-objects.cjs:29:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.deepEqual (file://lib/assert.js:355:9) + test-tap/fixture/report/regular/nested-objects.cjs:29:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 4 - nested-objects › format like with max depth 4 @@ -46,7 +64,17 @@ not ok 4 - nested-objects › format like with max depth 4 }, }, } - at: 'test-tap/fixture/report/regular/nested-objects.cjs:55:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.like (file://lib/assert.js:425:9) + test-tap/fixture/report/regular/nested-objects.cjs:55:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # output-in-hook › before hook @@ -70,7 +98,17 @@ not ok 6 - output-in-hook › failing test name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/output-in-hook.cjs:34:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/output-in-hook.cjs:34:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # output-in-hook › afterEach hook for passing test @@ -100,7 +138,17 @@ not ok 10 - test › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/test.cjs:9:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/test.cjs:9:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator ok 11 - test › known failure @@ -111,7 +159,12 @@ not ok 12 - test › no longer failing message: >- Test was expected to fail, but succeeded, you should stop marking the test as failing - at: '' + at: |- + Test.finish (file://lib/test.js:596:28) + async Runner.runSingle (file://lib/runner.js:285:18) + async Runner.runTest (file://lib/runner.js:361:19) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 13 - test › logs @@ -121,7 +174,17 @@ not ok 13 - test › logs name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/test.cjs:18:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/test.cjs:18:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 14 - test › formatted @@ -132,7 +195,17 @@ not ok 14 - test › formatted 'Difference:': |- - 'foo' + 'bar' - at: 'test-tap/fixture/report/regular/test.cjs:22:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.deepEqual (file://lib/assert.js:355:9) + test-tap/fixture/report/regular/test.cjs:22:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 15 - test › implementation throws non-error @@ -141,7 +214,14 @@ not ok 15 - test › implementation throws non-error message: Error thrown in test values: 'Error thrown in test:': 'null' - at: '' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + Test.run (file://lib/test.js:522:24) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 16 - traces-in-t-throws › throws @@ -160,7 +240,17 @@ not ok 16 - traces-in-t-throws › throws t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) + ExecutionContext.throws (file://lib/assert.js:464:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 17 - traces-in-t-throws › notThrows @@ -175,7 +265,12 @@ not ok 17 - traces-in-t-throws › notThrows at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 + ExecutionContext.notThrows (file://lib/assert.js:607:5) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 18 - traces-in-t-throws › notThrowsAsync @@ -190,7 +285,12 @@ not ok 18 - traces-in-t-throws › notThrowsAsync at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 + ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 19 - traces-in-t-throws › throwsAsync @@ -208,7 +308,17 @@ not ok 19 - traces-in-t-throws › throwsAsync t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) + ExecutionContext.throwsAsync (file://lib/assert.js:565:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 20 - traces-in-t-throws › throwsAsync different error @@ -225,7 +335,19 @@ not ok 20 - traces-in-t-throws › throwsAsync different error returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) + ExecutionContext.throwsAsync (file://lib/assert.js:565:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) + + async file://lib/runner.js:526:21 ... ---tty-stream-chunk-separator ok 21 - uncaught-exception › passes @@ -249,7 +371,14 @@ not ok 26 - Error: Can’t catch me --- name: Error message: Can’t catch me - at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17)' + at: |- + passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 27 - unhandled-rejection diff --git a/test-tap/reporters/tap.regular.v17.log b/test-tap/reporters/tap.regular.v17.log index c0379a149..f108e1bca 100644 --- a/test-tap/reporters/tap.regular.v17.log +++ b/test-tap/reporters/tap.regular.v17.log @@ -4,7 +4,15 @@ not ok 1 - TypeError: test.serial.test is not a function --- name: TypeError message: test.serial.test is not a function - at: 'Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13)' + at: >- + Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) + + Object.extensions. [as .js] + (file://lib/worker/dependency-tracker.js:42:5) + + load (file://lib/worker/base.js:149:10) + + run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 2 - bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -29,7 +37,17 @@ not ok 3 - nested-objects › format with max depth 4 + }, + }, } - at: 'test-tap/fixture/report/regular/nested-objects.cjs:29:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.deepEqual (file://lib/assert.js:355:9) + test-tap/fixture/report/regular/nested-objects.cjs:29:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 4 - nested-objects › format like with max depth 4 @@ -46,7 +64,17 @@ not ok 4 - nested-objects › format like with max depth 4 }, }, } - at: 'test-tap/fixture/report/regular/nested-objects.cjs:55:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.like (file://lib/assert.js:425:9) + test-tap/fixture/report/regular/nested-objects.cjs:55:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # output-in-hook › before hook @@ -70,7 +98,17 @@ not ok 6 - output-in-hook › failing test name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/output-in-hook.cjs:34:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/output-in-hook.cjs:34:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator # output-in-hook › afterEach hook for passing test @@ -100,7 +138,17 @@ not ok 10 - test › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/test.cjs:9:22' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/test.cjs:9:22 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator ok 11 - test › known failure @@ -111,7 +159,12 @@ not ok 12 - test › no longer failing message: >- Test was expected to fail, but succeeded, you should stop marking the test as failing - at: '' + at: |- + Test.finish (file://lib/test.js:596:28) + async Runner.runSingle (file://lib/runner.js:285:18) + async Runner.runTest (file://lib/runner.js:361:19) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 13 - test › logs @@ -121,7 +174,17 @@ not ok 13 - test › logs name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: 'test-tap/fixture/report/regular/test.cjs:18:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.fail (file://lib/assert.js:282:9) + test-tap/fixture/report/regular/test.cjs:18:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 14 - test › formatted @@ -132,7 +195,17 @@ not ok 14 - test › formatted 'Difference:': |- - 'foo' + 'bar' - at: 'test-tap/fixture/report/regular/test.cjs:22:4' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + ExecutionContext.deepEqual (file://lib/assert.js:355:9) + test-tap/fixture/report/regular/test.cjs:22:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 15 - test › implementation throws non-error @@ -141,7 +214,14 @@ not ok 15 - test › implementation throws non-error message: Error thrown in test values: 'Error thrown in test:': 'null' - at: '' + at: |- + getErrorWithLongStackTrace (file://lib/assert.js:71:16) + new AssertionError (file://lib/assert.js:51:63) + Test.run (file://lib/test.js:522:24) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 16 - traces-in-t-throws › throws @@ -160,7 +240,17 @@ not ok 16 - traces-in-t-throws › throws t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) + ExecutionContext.throws (file://lib/assert.js:464:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 17 - traces-in-t-throws › notThrows @@ -175,7 +265,12 @@ not ok 17 - traces-in-t-throws › notThrows at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 + ExecutionContext.notThrows (file://lib/assert.js:607:5) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 18 - traces-in-t-throws › notThrowsAsync @@ -190,7 +285,12 @@ not ok 18 - traces-in-t-throws › notThrowsAsync at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 + ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 19 - traces-in-t-throws › throwsAsync @@ -208,7 +308,17 @@ not ok 19 - traces-in-t-throws › throwsAsync t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) + ExecutionContext.throwsAsync (file://lib/assert.js:565:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 20 - traces-in-t-throws › throwsAsync different error @@ -225,7 +335,19 @@ not ok 20 - traces-in-t-throws › throwsAsync different error returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) + ExecutionContext.throwsAsync (file://lib/assert.js:565:14) + test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 + + Test.callFn (file://lib/test.js:507:21) + + Test.run (file://lib/test.js:520:23) + + Runner.runSingle (file://lib/runner.js:285:33) + + Runner.runTest (file://lib/runner.js:361:30) + + async file://lib/runner.js:526:21 ... ---tty-stream-chunk-separator ok 21 - uncaught-exception › passes @@ -249,7 +371,14 @@ not ok 26 - Error: Can’t catch me --- name: Error message: Can’t catch me - at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17)' + at: |- + passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) + Test.callFn (file://lib/test.js:507:21) + Test.run (file://lib/test.js:520:23) + Runner.runSingle (file://lib/runner.js:285:33) + Runner.runTest (file://lib/runner.js:361:30) + async file://lib/runner.js:526:21 + async Runner.start (file://lib/runner.js:534:15) ... ---tty-stream-chunk-separator not ok 27 - unhandled-rejection From ff8ab146f84d376b78435a64648d50e6f854866f Mon Sep 17 00:00:00 2001 From: Mark Wubben Date: Mon, 2 May 2022 12:00:09 +0200 Subject: [PATCH 3/9] Rebuild reporter logs --- package-lock.json | 23 --- test-tap/reporters/default.edgecases.v12.log | 11 -- test-tap/reporters/default.edgecases.v16.log | 9 -- test-tap/reporters/default.edgecases.v17.log | 9 -- test-tap/reporters/default.failfast.v12.log | 8 - test-tap/reporters/default.failfast.v16.log | 8 - test-tap/reporters/default.failfast.v17.log | 8 - test-tap/reporters/default.failfast2.v12.log | 9 -- test-tap/reporters/default.failfast2.v16.log | 9 -- test-tap/reporters/default.failfast2.v17.log | 9 -- test-tap/reporters/default.regular.v12.log | 103 ------------- test-tap/reporters/default.regular.v16.log | 103 ------------- test-tap/reporters/default.regular.v17.log | 103 ------------- test-tap/reporters/tap.edgecases.v12.log | 27 +--- test-tap/reporters/tap.edgecases.v16.log | 23 +-- test-tap/reporters/tap.edgecases.v17.log | 23 +-- test-tap/reporters/tap.failfast.v12.log | 11 +- test-tap/reporters/tap.failfast.v16.log | 11 +- test-tap/reporters/tap.failfast.v17.log | 11 +- test-tap/reporters/tap.failfast2.v12.log | 12 +- test-tap/reporters/tap.failfast2.v16.log | 12 +- test-tap/reporters/tap.failfast2.v17.log | 12 +- test-tap/reporters/tap.regular.v12.log | 149 ++----------------- test-tap/reporters/tap.regular.v16.log | 149 ++----------------- test-tap/reporters/tap.regular.v17.log | 149 ++----------------- 25 files changed, 42 insertions(+), 959 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51c4bea8f..d494b1b3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10858,29 +10858,6 @@ "node": ">= 4" } }, - "node_modules/xo/node_modules/@typescript-eslint/experimental-utils": { - "version": "5.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.4.0", - "@typescript-eslint/types": "5.4.0", - "@typescript-eslint/typescript-estree": "5.4.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "*" - } - }, "node_modules/xo/node_modules/@typescript-eslint/parser": { "version": "5.11.0", "dev": true, diff --git a/test-tap/reporters/default.edgecases.v12.log b/test-tap/reporters/default.edgecases.v12.log index 993ac4f47..bbbe457d2 100644 --- a/test-tap/reporters/default.edgecases.v12.log +++ b/test-tap/reporters/default.edgecases.v12.log @@ -11,11 +11,6 @@ SyntaxError: Unexpected token 'do' - › SyntaxError: Unexpected token 'do' - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) - ---tty-stream-chunk-separator ✖ ast-syntax-error.cjs exited with a non-zero exit code: 1 ---tty-stream-chunk-separator @@ -33,9 +28,6 @@ TypeError: test is not a function › Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -55,9 +47,6 @@ Error: throws › Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/default.edgecases.v16.log b/test-tap/reporters/default.edgecases.v16.log index 5a605cd0d..e39930d14 100644 --- a/test-tap/reporters/default.edgecases.v16.log +++ b/test-tap/reporters/default.edgecases.v16.log @@ -7,9 +7,6 @@ SyntaxError: Unexpected token 'do' - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - ---tty-stream-chunk-separator ✖ ast-syntax-error.cjs exited with a non-zero exit code: 1 ---tty-stream-chunk-separator @@ -27,9 +24,6 @@ TypeError: test is not a function › Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -49,9 +43,6 @@ Error: throws › Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/default.edgecases.v17.log b/test-tap/reporters/default.edgecases.v17.log index 5a605cd0d..e39930d14 100644 --- a/test-tap/reporters/default.edgecases.v17.log +++ b/test-tap/reporters/default.edgecases.v17.log @@ -7,9 +7,6 @@ SyntaxError: Unexpected token 'do' - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - ---tty-stream-chunk-separator ✖ ast-syntax-error.cjs exited with a non-zero exit code: 1 ---tty-stream-chunk-separator @@ -27,9 +24,6 @@ TypeError: test is not a function › Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -49,9 +43,6 @@ Error: throws › Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/default.failfast.v12.log b/test-tap/reporters/default.failfast.v12.log index 71f604be1..f5ffaf7a0 100644 --- a/test-tap/reporters/default.failfast.v12.log +++ b/test-tap/reporters/default.failfast.v12.log @@ -13,15 +13,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast/a.cjs:3:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast.v16.log b/test-tap/reporters/default.failfast.v16.log index 71f604be1..f5ffaf7a0 100644 --- a/test-tap/reporters/default.failfast.v16.log +++ b/test-tap/reporters/default.failfast.v16.log @@ -13,15 +13,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast/a.cjs:3:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast.v17.log b/test-tap/reporters/default.failfast.v17.log index 71f604be1..f5ffaf7a0 100644 --- a/test-tap/reporters/default.failfast.v17.log +++ b/test-tap/reporters/default.failfast.v17.log @@ -13,15 +13,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast/a.cjs:3:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast2.v12.log b/test-tap/reporters/default.failfast2.v12.log index 58a30f842..ad834272c 100644 --- a/test-tap/reporters/default.failfast2.v12.log +++ b/test-tap/reporters/default.failfast2.v12.log @@ -13,16 +13,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast2/a.cjs:3:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:497:24 - › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast2.v16.log b/test-tap/reporters/default.failfast2.v16.log index 58a30f842..ad834272c 100644 --- a/test-tap/reporters/default.failfast2.v16.log +++ b/test-tap/reporters/default.failfast2.v16.log @@ -13,16 +13,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast2/a.cjs:3:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:497:24 - › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.failfast2.v17.log b/test-tap/reporters/default.failfast2.v17.log index 58a30f842..ad834272c 100644 --- a/test-tap/reporters/default.failfast2.v17.log +++ b/test-tap/reporters/default.failfast2.v17.log @@ -13,16 +13,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/failfast2/a.cjs:3:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:497:24 - › async Runner.start (file://lib/runner.js:534:15) ─ diff --git a/test-tap/reporters/default.regular.v12.log b/test-tap/reporters/default.regular.v12.log index e1e5061df..f259e2bcd 100644 --- a/test-tap/reporters/default.regular.v12.log +++ b/test-tap/reporters/default.regular.v12.log @@ -11,9 +11,6 @@ TypeError: test.serial.test is not a function › Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -111,12 +108,6 @@ Error: Can’t catch me › passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) ---tty-stream-chunk-separator Unhandled rejection in unhandled-rejection.cjs @@ -150,16 +141,7 @@ + }, } - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/nested-objects.cjs:29:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -181,16 +163,7 @@ }, } - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.like (file://lib/assert.js:425:9) › test-tap/fixture/report/regular/nested-objects.cjs:55:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -203,16 +176,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/output-in-hook.cjs:34:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -225,28 +189,13 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:9:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) test › no longer failing Error: Test was expected to fail, but succeeded, you should stop marking the test as failing - › Test.finish (file://lib/test.js:596:28) - › async Runner.runSingle (file://lib/runner.js:285:18) - › async Runner.runTest (file://lib/runner.js:361:19) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) - test › logs @@ -258,16 +207,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:18:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -283,16 +223,7 @@ - 'foo' + 'bar' - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/test.cjs:22:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -301,14 +232,6 @@ null - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › Test.run (file://lib/test.js:522:24) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) - traces-in-t-throws › throws @@ -330,12 +253,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) - › ExecutionContext.throws (file://lib/assert.js:464:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -354,12 +272,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 - › ExecutionContext.notThrows (file://lib/assert.js:607:5) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -378,12 +291,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 - › ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -402,12 +310,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) - › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -429,13 +332,7 @@ Function TypeError {} › returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) - › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 ─ diff --git a/test-tap/reporters/default.regular.v16.log b/test-tap/reporters/default.regular.v16.log index e1e5061df..f259e2bcd 100644 --- a/test-tap/reporters/default.regular.v16.log +++ b/test-tap/reporters/default.regular.v16.log @@ -11,9 +11,6 @@ TypeError: test.serial.test is not a function › Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -111,12 +108,6 @@ Error: Can’t catch me › passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) ---tty-stream-chunk-separator Unhandled rejection in unhandled-rejection.cjs @@ -150,16 +141,7 @@ + }, } - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/nested-objects.cjs:29:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -181,16 +163,7 @@ }, } - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.like (file://lib/assert.js:425:9) › test-tap/fixture/report/regular/nested-objects.cjs:55:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -203,16 +176,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/output-in-hook.cjs:34:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -225,28 +189,13 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:9:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) test › no longer failing Error: Test was expected to fail, but succeeded, you should stop marking the test as failing - › Test.finish (file://lib/test.js:596:28) - › async Runner.runSingle (file://lib/runner.js:285:18) - › async Runner.runTest (file://lib/runner.js:361:19) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) - test › logs @@ -258,16 +207,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:18:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -283,16 +223,7 @@ - 'foo' + 'bar' - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/test.cjs:22:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -301,14 +232,6 @@ null - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › Test.run (file://lib/test.js:522:24) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) - traces-in-t-throws › throws @@ -330,12 +253,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) - › ExecutionContext.throws (file://lib/assert.js:464:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -354,12 +272,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 - › ExecutionContext.notThrows (file://lib/assert.js:607:5) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -378,12 +291,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 - › ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -402,12 +310,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) - › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -429,13 +332,7 @@ Function TypeError {} › returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) - › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 ─ diff --git a/test-tap/reporters/default.regular.v17.log b/test-tap/reporters/default.regular.v17.log index e1e5061df..f259e2bcd 100644 --- a/test-tap/reporters/default.regular.v17.log +++ b/test-tap/reporters/default.regular.v17.log @@ -11,9 +11,6 @@ TypeError: test.serial.test is not a function › Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) - › Object.extensions. [as .js] (file://lib/worker/dependency-tracker.js:42:5) - › load (file://lib/worker/base.js:149:10) - › run (file://lib/worker/base.js:174:9) ---tty-stream-chunk-separator ✖ bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -111,12 +108,6 @@ Error: Can’t catch me › passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) ---tty-stream-chunk-separator Unhandled rejection in unhandled-rejection.cjs @@ -150,16 +141,7 @@ + }, } - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/nested-objects.cjs:29:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -181,16 +163,7 @@ }, } - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.like (file://lib/assert.js:425:9) › test-tap/fixture/report/regular/nested-objects.cjs:55:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -203,16 +176,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/output-in-hook.cjs:34:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -225,28 +189,13 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:9:22 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) test › no longer failing Error: Test was expected to fail, but succeeded, you should stop marking the test as failing - › Test.finish (file://lib/test.js:596:28) - › async Runner.runSingle (file://lib/runner.js:285:18) - › async Runner.runTest (file://lib/runner.js:361:19) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) - test › logs @@ -258,16 +207,7 @@ Test failed via `t.fail()` - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.fail (file://lib/assert.js:282:9) › test-tap/fixture/report/regular/test.cjs:18:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -283,16 +223,7 @@ - 'foo' + 'bar' - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › ExecutionContext.deepEqual (file://lib/assert.js:355:9) › test-tap/fixture/report/regular/test.cjs:22:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) @@ -301,14 +232,6 @@ null - › getErrorWithLongStackTrace (file://lib/assert.js:71:16) - › new AssertionError (file://lib/assert.js:51:63) - › Test.run (file://lib/test.js:522:24) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 - › async Runner.start (file://lib/runner.js:534:15) - traces-in-t-throws › throws @@ -330,12 +253,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) - › ExecutionContext.throws (file://lib/assert.js:464:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -354,12 +272,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 - › ExecutionContext.notThrows (file://lib/assert.js:607:5) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -378,12 +291,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 - › ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -402,12 +310,7 @@ › throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) › t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) - › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) @@ -429,13 +332,7 @@ Function TypeError {} › returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) - › ExecutionContext.throwsAsync (file://lib/assert.js:565:14) › test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 - › Test.callFn (file://lib/test.js:507:21) - › Test.run (file://lib/test.js:520:23) - › Runner.runSingle (file://lib/runner.js:285:33) - › Runner.runTest (file://lib/runner.js:361:30) - › async file://lib/runner.js:526:21 ─ diff --git a/test-tap/reporters/tap.edgecases.v12.log b/test-tap/reporters/tap.edgecases.v12.log index bf68d9b69..0b7bcf535 100644 --- a/test-tap/reporters/tap.edgecases.v12.log +++ b/test-tap/reporters/tap.edgecases.v12.log @@ -8,15 +8,7 @@ SyntaxError: Unexpected token 'do' --- name: SyntaxError message: Unexpected token 'do' - at: >- - SyntaxError: Unexpected token 'do' - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) + at: '' ... ---tty-stream-chunk-separator not ok 2 - ast-syntax-error.cjs exited with a non-zero exit code: 1 @@ -30,13 +22,6 @@ not ok 4 - TypeError: test is not a function at: >- Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 5 - import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -47,15 +32,7 @@ not ok 7 - Error: throws --- name: Error message: throws - at: >- - Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) + at: 'Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7)' ... ---tty-stream-chunk-separator not ok 8 - throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/tap.edgecases.v16.log b/test-tap/reporters/tap.edgecases.v16.log index 9fc48892e..ba4f57781 100644 --- a/test-tap/reporters/tap.edgecases.v16.log +++ b/test-tap/reporters/tap.edgecases.v16.log @@ -4,11 +4,7 @@ not ok 1 - SyntaxError: Unexpected token 'do' --- name: SyntaxError message: Unexpected token 'do' - at: >- - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) + at: '' ... ---tty-stream-chunk-separator not ok 2 - ast-syntax-error.cjs exited with a non-zero exit code: 1 @@ -22,13 +18,6 @@ not ok 4 - TypeError: test is not a function at: >- Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 5 - import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -39,15 +28,7 @@ not ok 7 - Error: throws --- name: Error message: throws - at: >- - Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) + at: 'Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7)' ... ---tty-stream-chunk-separator not ok 8 - throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/tap.edgecases.v17.log b/test-tap/reporters/tap.edgecases.v17.log index 9fc48892e..ba4f57781 100644 --- a/test-tap/reporters/tap.edgecases.v17.log +++ b/test-tap/reporters/tap.edgecases.v17.log @@ -4,11 +4,7 @@ not ok 1 - SyntaxError: Unexpected token 'do' --- name: SyntaxError message: Unexpected token 'do' - at: >- - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) + at: '' ... ---tty-stream-chunk-separator not ok 2 - ast-syntax-error.cjs exited with a non-zero exit code: 1 @@ -22,13 +18,6 @@ not ok 4 - TypeError: test is not a function at: >- Object. (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) ... ---tty-stream-chunk-separator not ok 5 - import-and-use-test-member.cjs exited with a non-zero exit code: 1 @@ -39,15 +28,7 @@ not ok 7 - Error: throws --- name: Error message: throws - at: >- - Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) + at: 'Object. (test-tap/fixture/report/edgecases/throws.cjs:1:7)' ... ---tty-stream-chunk-separator not ok 8 - throws.cjs exited with a non-zero exit code: 1 diff --git a/test-tap/reporters/tap.failfast.v12.log b/test-tap/reporters/tap.failfast.v12.log index 595193cc9..5b44649f1 100644 --- a/test-tap/reporters/tap.failfast.v12.log +++ b/test-tap/reporters/tap.failfast.v12.log @@ -5,16 +5,7 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/failfast/a.cjs:3:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/failfast/a.cjs:3:22' ... ---tty-stream-chunk-separator diff --git a/test-tap/reporters/tap.failfast.v16.log b/test-tap/reporters/tap.failfast.v16.log index 595193cc9..5b44649f1 100644 --- a/test-tap/reporters/tap.failfast.v16.log +++ b/test-tap/reporters/tap.failfast.v16.log @@ -5,16 +5,7 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/failfast/a.cjs:3:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/failfast/a.cjs:3:22' ... ---tty-stream-chunk-separator diff --git a/test-tap/reporters/tap.failfast.v17.log b/test-tap/reporters/tap.failfast.v17.log index 595193cc9..5b44649f1 100644 --- a/test-tap/reporters/tap.failfast.v17.log +++ b/test-tap/reporters/tap.failfast.v17.log @@ -5,16 +5,7 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/failfast/a.cjs:3:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/failfast/a.cjs:3:22' ... ---tty-stream-chunk-separator diff --git a/test-tap/reporters/tap.failfast2.v12.log b/test-tap/reporters/tap.failfast2.v12.log index f3623d84b..c10c8cd9f 100644 --- a/test-tap/reporters/tap.failfast2.v12.log +++ b/test-tap/reporters/tap.failfast2.v12.log @@ -5,17 +5,7 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/failfast2/a.cjs:3:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:497:24 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/failfast2/a.cjs:3:22' ... ---tty-stream-chunk-separator # 1 test remaining in a.cjs diff --git a/test-tap/reporters/tap.failfast2.v16.log b/test-tap/reporters/tap.failfast2.v16.log index f3623d84b..c10c8cd9f 100644 --- a/test-tap/reporters/tap.failfast2.v16.log +++ b/test-tap/reporters/tap.failfast2.v16.log @@ -5,17 +5,7 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/failfast2/a.cjs:3:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:497:24 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/failfast2/a.cjs:3:22' ... ---tty-stream-chunk-separator # 1 test remaining in a.cjs diff --git a/test-tap/reporters/tap.failfast2.v17.log b/test-tap/reporters/tap.failfast2.v17.log index f3623d84b..c10c8cd9f 100644 --- a/test-tap/reporters/tap.failfast2.v17.log +++ b/test-tap/reporters/tap.failfast2.v17.log @@ -5,17 +5,7 @@ not ok 1 - a › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/failfast2/a.cjs:3:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:497:24 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/failfast2/a.cjs:3:22' ... ---tty-stream-chunk-separator # 1 test remaining in a.cjs diff --git a/test-tap/reporters/tap.regular.v12.log b/test-tap/reporters/tap.regular.v12.log index f108e1bca..c0379a149 100644 --- a/test-tap/reporters/tap.regular.v12.log +++ b/test-tap/reporters/tap.regular.v12.log @@ -4,15 +4,7 @@ not ok 1 - TypeError: test.serial.test is not a function --- name: TypeError message: test.serial.test is not a function - at: >- - Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) + at: 'Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13)' ... ---tty-stream-chunk-separator not ok 2 - bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -37,17 +29,7 @@ not ok 3 - nested-objects › format with max depth 4 + }, + }, } - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.deepEqual (file://lib/assert.js:355:9) - test-tap/fixture/report/regular/nested-objects.cjs:29:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/nested-objects.cjs:29:4' ... ---tty-stream-chunk-separator not ok 4 - nested-objects › format like with max depth 4 @@ -64,17 +46,7 @@ not ok 4 - nested-objects › format like with max depth 4 }, }, } - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.like (file://lib/assert.js:425:9) - test-tap/fixture/report/regular/nested-objects.cjs:55:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/nested-objects.cjs:55:4' ... ---tty-stream-chunk-separator # output-in-hook › before hook @@ -98,17 +70,7 @@ not ok 6 - output-in-hook › failing test name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/output-in-hook.cjs:34:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/output-in-hook.cjs:34:4' ... ---tty-stream-chunk-separator # output-in-hook › afterEach hook for passing test @@ -138,17 +100,7 @@ not ok 10 - test › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/test.cjs:9:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:9:22' ... ---tty-stream-chunk-separator ok 11 - test › known failure @@ -159,12 +111,7 @@ not ok 12 - test › no longer failing message: >- Test was expected to fail, but succeeded, you should stop marking the test as failing - at: |- - Test.finish (file://lib/test.js:596:28) - async Runner.runSingle (file://lib/runner.js:285:18) - async Runner.runTest (file://lib/runner.js:361:19) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: '' ... ---tty-stream-chunk-separator not ok 13 - test › logs @@ -174,17 +121,7 @@ not ok 13 - test › logs name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/test.cjs:18:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:18:4' ... ---tty-stream-chunk-separator not ok 14 - test › formatted @@ -195,17 +132,7 @@ not ok 14 - test › formatted 'Difference:': |- - 'foo' + 'bar' - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.deepEqual (file://lib/assert.js:355:9) - test-tap/fixture/report/regular/test.cjs:22:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:22:4' ... ---tty-stream-chunk-separator not ok 15 - test › implementation throws non-error @@ -214,14 +141,7 @@ not ok 15 - test › implementation throws non-error message: Error thrown in test values: 'Error thrown in test:': 'null' - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - Test.run (file://lib/test.js:522:24) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: '' ... ---tty-stream-chunk-separator not ok 16 - traces-in-t-throws › throws @@ -240,17 +160,7 @@ not ok 16 - traces-in-t-throws › throws t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) - ExecutionContext.throws (file://lib/assert.js:464:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 17 - traces-in-t-throws › notThrows @@ -265,12 +175,7 @@ not ok 17 - traces-in-t-throws › notThrows at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 - ExecutionContext.notThrows (file://lib/assert.js:607:5) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 18 - traces-in-t-throws › notThrowsAsync @@ -285,12 +190,7 @@ not ok 18 - traces-in-t-throws › notThrowsAsync at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 - ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 19 - traces-in-t-throws › throwsAsync @@ -308,17 +208,7 @@ not ok 19 - traces-in-t-throws › throwsAsync t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) - ExecutionContext.throwsAsync (file://lib/assert.js:565:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 20 - traces-in-t-throws › throwsAsync different error @@ -335,19 +225,7 @@ not ok 20 - traces-in-t-throws › throwsAsync different error returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) - ExecutionContext.throwsAsync (file://lib/assert.js:565:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) - - async file://lib/runner.js:526:21 ... ---tty-stream-chunk-separator ok 21 - uncaught-exception › passes @@ -371,14 +249,7 @@ not ok 26 - Error: Can’t catch me --- name: Error message: Can’t catch me - at: |- - passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17)' ... ---tty-stream-chunk-separator not ok 27 - unhandled-rejection diff --git a/test-tap/reporters/tap.regular.v16.log b/test-tap/reporters/tap.regular.v16.log index f108e1bca..c0379a149 100644 --- a/test-tap/reporters/tap.regular.v16.log +++ b/test-tap/reporters/tap.regular.v16.log @@ -4,15 +4,7 @@ not ok 1 - TypeError: test.serial.test is not a function --- name: TypeError message: test.serial.test is not a function - at: >- - Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) + at: 'Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13)' ... ---tty-stream-chunk-separator not ok 2 - bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -37,17 +29,7 @@ not ok 3 - nested-objects › format with max depth 4 + }, + }, } - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.deepEqual (file://lib/assert.js:355:9) - test-tap/fixture/report/regular/nested-objects.cjs:29:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/nested-objects.cjs:29:4' ... ---tty-stream-chunk-separator not ok 4 - nested-objects › format like with max depth 4 @@ -64,17 +46,7 @@ not ok 4 - nested-objects › format like with max depth 4 }, }, } - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.like (file://lib/assert.js:425:9) - test-tap/fixture/report/regular/nested-objects.cjs:55:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/nested-objects.cjs:55:4' ... ---tty-stream-chunk-separator # output-in-hook › before hook @@ -98,17 +70,7 @@ not ok 6 - output-in-hook › failing test name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/output-in-hook.cjs:34:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/output-in-hook.cjs:34:4' ... ---tty-stream-chunk-separator # output-in-hook › afterEach hook for passing test @@ -138,17 +100,7 @@ not ok 10 - test › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/test.cjs:9:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:9:22' ... ---tty-stream-chunk-separator ok 11 - test › known failure @@ -159,12 +111,7 @@ not ok 12 - test › no longer failing message: >- Test was expected to fail, but succeeded, you should stop marking the test as failing - at: |- - Test.finish (file://lib/test.js:596:28) - async Runner.runSingle (file://lib/runner.js:285:18) - async Runner.runTest (file://lib/runner.js:361:19) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: '' ... ---tty-stream-chunk-separator not ok 13 - test › logs @@ -174,17 +121,7 @@ not ok 13 - test › logs name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/test.cjs:18:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:18:4' ... ---tty-stream-chunk-separator not ok 14 - test › formatted @@ -195,17 +132,7 @@ not ok 14 - test › formatted 'Difference:': |- - 'foo' + 'bar' - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.deepEqual (file://lib/assert.js:355:9) - test-tap/fixture/report/regular/test.cjs:22:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:22:4' ... ---tty-stream-chunk-separator not ok 15 - test › implementation throws non-error @@ -214,14 +141,7 @@ not ok 15 - test › implementation throws non-error message: Error thrown in test values: 'Error thrown in test:': 'null' - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - Test.run (file://lib/test.js:522:24) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: '' ... ---tty-stream-chunk-separator not ok 16 - traces-in-t-throws › throws @@ -240,17 +160,7 @@ not ok 16 - traces-in-t-throws › throws t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) - ExecutionContext.throws (file://lib/assert.js:464:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 17 - traces-in-t-throws › notThrows @@ -265,12 +175,7 @@ not ok 17 - traces-in-t-throws › notThrows at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 - ExecutionContext.notThrows (file://lib/assert.js:607:5) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 18 - traces-in-t-throws › notThrowsAsync @@ -285,12 +190,7 @@ not ok 18 - traces-in-t-throws › notThrowsAsync at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 - ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 19 - traces-in-t-throws › throwsAsync @@ -308,17 +208,7 @@ not ok 19 - traces-in-t-throws › throwsAsync t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) - ExecutionContext.throwsAsync (file://lib/assert.js:565:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 20 - traces-in-t-throws › throwsAsync different error @@ -335,19 +225,7 @@ not ok 20 - traces-in-t-throws › throwsAsync different error returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) - ExecutionContext.throwsAsync (file://lib/assert.js:565:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) - - async file://lib/runner.js:526:21 ... ---tty-stream-chunk-separator ok 21 - uncaught-exception › passes @@ -371,14 +249,7 @@ not ok 26 - Error: Can’t catch me --- name: Error message: Can’t catch me - at: |- - passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17)' ... ---tty-stream-chunk-separator not ok 27 - unhandled-rejection diff --git a/test-tap/reporters/tap.regular.v17.log b/test-tap/reporters/tap.regular.v17.log index f108e1bca..c0379a149 100644 --- a/test-tap/reporters/tap.regular.v17.log +++ b/test-tap/reporters/tap.regular.v17.log @@ -4,15 +4,7 @@ not ok 1 - TypeError: test.serial.test is not a function --- name: TypeError message: test.serial.test is not a function - at: >- - Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13) - - Object.extensions. [as .js] - (file://lib/worker/dependency-tracker.js:42:5) - - load (file://lib/worker/base.js:149:10) - - run (file://lib/worker/base.js:174:9) + at: 'Object. (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13)' ... ---tty-stream-chunk-separator not ok 2 - bad-test-chain.cjs exited with a non-zero exit code: 1 @@ -37,17 +29,7 @@ not ok 3 - nested-objects › format with max depth 4 + }, + }, } - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.deepEqual (file://lib/assert.js:355:9) - test-tap/fixture/report/regular/nested-objects.cjs:29:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/nested-objects.cjs:29:4' ... ---tty-stream-chunk-separator not ok 4 - nested-objects › format like with max depth 4 @@ -64,17 +46,7 @@ not ok 4 - nested-objects › format like with max depth 4 }, }, } - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.like (file://lib/assert.js:425:9) - test-tap/fixture/report/regular/nested-objects.cjs:55:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/nested-objects.cjs:55:4' ... ---tty-stream-chunk-separator # output-in-hook › before hook @@ -98,17 +70,7 @@ not ok 6 - output-in-hook › failing test name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/output-in-hook.cjs:34:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/output-in-hook.cjs:34:4' ... ---tty-stream-chunk-separator # output-in-hook › afterEach hook for passing test @@ -138,17 +100,7 @@ not ok 10 - test › fails name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/test.cjs:9:22 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:9:22' ... ---tty-stream-chunk-separator ok 11 - test › known failure @@ -159,12 +111,7 @@ not ok 12 - test › no longer failing message: >- Test was expected to fail, but succeeded, you should stop marking the test as failing - at: |- - Test.finish (file://lib/test.js:596:28) - async Runner.runSingle (file://lib/runner.js:285:18) - async Runner.runTest (file://lib/runner.js:361:19) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: '' ... ---tty-stream-chunk-separator not ok 13 - test › logs @@ -174,17 +121,7 @@ not ok 13 - test › logs name: AssertionError message: Test failed via `t.fail()` assertion: fail - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.fail (file://lib/assert.js:282:9) - test-tap/fixture/report/regular/test.cjs:18:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:18:4' ... ---tty-stream-chunk-separator not ok 14 - test › formatted @@ -195,17 +132,7 @@ not ok 14 - test › formatted 'Difference:': |- - 'foo' + 'bar' - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - ExecutionContext.deepEqual (file://lib/assert.js:355:9) - test-tap/fixture/report/regular/test.cjs:22:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'test-tap/fixture/report/regular/test.cjs:22:4' ... ---tty-stream-chunk-separator not ok 15 - test › implementation throws non-error @@ -214,14 +141,7 @@ not ok 15 - test › implementation throws non-error message: Error thrown in test values: 'Error thrown in test:': 'null' - at: |- - getErrorWithLongStackTrace (file://lib/assert.js:71:16) - new AssertionError (file://lib/assert.js:51:63) - Test.run (file://lib/test.js:522:24) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: '' ... ---tty-stream-chunk-separator not ok 16 - traces-in-t-throws › throws @@ -240,17 +160,7 @@ not ok 16 - traces-in-t-throws › throws t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17) - ExecutionContext.throws (file://lib/assert.js:464:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 17 - traces-in-t-throws › notThrows @@ -265,12 +175,7 @@ not ok 17 - traces-in-t-throws › notThrows at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20 - ExecutionContext.notThrows (file://lib/assert.js:607:5) test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 18 - traces-in-t-throws › notThrowsAsync @@ -285,12 +190,7 @@ not ok 18 - traces-in-t-throws › notThrowsAsync at: |- throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:25 - ExecutionContext.notThrowsAsync (file://lib/assert.js:663:14) test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:4 - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 19 - traces-in-t-throws › throwsAsync @@ -308,17 +208,7 @@ not ok 19 - traces-in-t-throws › throwsAsync t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:22) - ExecutionContext.throwsAsync (file://lib/assert.js:565:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:4 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) ... ---tty-stream-chunk-separator not ok 20 - traces-in-t-throws › throwsAsync different error @@ -335,19 +225,7 @@ not ok 20 - traces-in-t-throws › throwsAsync different error returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24) - ExecutionContext.throwsAsync (file://lib/assert.js:565:14) - test-tap/fixture/report/regular/traces-in-t-throws.cjs:27:44 - - Test.callFn (file://lib/test.js:507:21) - - Test.run (file://lib/test.js:520:23) - - Runner.runSingle (file://lib/runner.js:285:33) - - Runner.runTest (file://lib/runner.js:361:30) - - async file://lib/runner.js:526:21 ... ---tty-stream-chunk-separator ok 21 - uncaught-exception › passes @@ -371,14 +249,7 @@ not ok 26 - Error: Can’t catch me --- name: Error message: Can’t catch me - at: |- - passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17) - Test.callFn (file://lib/test.js:507:21) - Test.run (file://lib/test.js:520:23) - Runner.runSingle (file://lib/runner.js:285:33) - Runner.runTest (file://lib/runner.js:361:30) - async file://lib/runner.js:526:21 - async Runner.start (file://lib/runner.js:534:15) + at: 'passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17)' ... ---tty-stream-chunk-separator not ok 27 - unhandled-rejection From d7543cb5b73a855eca55fe47eb1fab7b68fd1095 Mon Sep 17 00:00:00 2001 From: Mark Wubben Date: Mon, 2 May 2022 12:01:41 +0200 Subject: [PATCH 4/9] Undo lockfile changes --- package-lock.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/package-lock.json b/package-lock.json index d494b1b3a..51c4bea8f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10858,6 +10858,29 @@ "node": ">= 4" } }, + "node_modules/xo/node_modules/@typescript-eslint/experimental-utils": { + "version": "5.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.9", + "@typescript-eslint/scope-manager": "5.4.0", + "@typescript-eslint/types": "5.4.0", + "@typescript-eslint/typescript-estree": "5.4.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + } + }, "node_modules/xo/node_modules/@typescript-eslint/parser": { "version": "5.11.0", "dev": true, From 580199a647a6c6b36f27a68289c43c35291f5c63 Mon Sep 17 00:00:00 2001 From: il3ven Date: Sun, 8 May 2022 14:46:36 +0530 Subject: [PATCH 5/9] restore all changed log files --- test-tap/reporters/default.failfast.v12.log | 1 + test-tap/reporters/default.failfast.v14.log | 1 + test-tap/reporters/default.failfast.v16.log | 1 + test-tap/reporters/default.failfast.v17.log | 1 + test-tap/reporters/default.failfast2.v12.log | 1 + test-tap/reporters/default.failfast2.v14.log | 1 + test-tap/reporters/default.failfast2.v16.log | 1 + test-tap/reporters/default.failfast2.v17.log | 1 + test-tap/reporters/default.regular.v12.log | 16 ++++++++++++++++ test-tap/reporters/default.regular.v14.log | 16 ++++++++++++++++ test-tap/reporters/default.regular.v16.log | 16 ++++++++++++++++ test-tap/reporters/default.regular.v17.log | 16 ++++++++++++++++ 12 files changed, 72 insertions(+) diff --git a/test-tap/reporters/default.failfast.v12.log b/test-tap/reporters/default.failfast.v12.log index f5ffaf7a0..831e81f6c 100644 --- a/test-tap/reporters/default.failfast.v12.log +++ b/test-tap/reporters/default.failfast.v12.log @@ -5,6 +5,7 @@ ─ a › fails + a.cjs:3 2: diff --git a/test-tap/reporters/default.failfast.v14.log b/test-tap/reporters/default.failfast.v14.log index f5ffaf7a0..831e81f6c 100644 --- a/test-tap/reporters/default.failfast.v14.log +++ b/test-tap/reporters/default.failfast.v14.log @@ -5,6 +5,7 @@ ─ a › fails + a.cjs:3 2: diff --git a/test-tap/reporters/default.failfast.v16.log b/test-tap/reporters/default.failfast.v16.log index f5ffaf7a0..831e81f6c 100644 --- a/test-tap/reporters/default.failfast.v16.log +++ b/test-tap/reporters/default.failfast.v16.log @@ -5,6 +5,7 @@ ─ a › fails + a.cjs:3 2: diff --git a/test-tap/reporters/default.failfast.v17.log b/test-tap/reporters/default.failfast.v17.log index f5ffaf7a0..831e81f6c 100644 --- a/test-tap/reporters/default.failfast.v17.log +++ b/test-tap/reporters/default.failfast.v17.log @@ -5,6 +5,7 @@ ─ a › fails + a.cjs:3 2: diff --git a/test-tap/reporters/default.failfast2.v12.log b/test-tap/reporters/default.failfast2.v12.log index ad834272c..22d9cd398 100644 --- a/test-tap/reporters/default.failfast2.v12.log +++ b/test-tap/reporters/default.failfast2.v12.log @@ -5,6 +5,7 @@ ─ a › fails + a.cjs:3 2: diff --git a/test-tap/reporters/default.failfast2.v14.log b/test-tap/reporters/default.failfast2.v14.log index ad834272c..22d9cd398 100644 --- a/test-tap/reporters/default.failfast2.v14.log +++ b/test-tap/reporters/default.failfast2.v14.log @@ -5,6 +5,7 @@ ─ a › fails + a.cjs:3 2: diff --git a/test-tap/reporters/default.failfast2.v16.log b/test-tap/reporters/default.failfast2.v16.log index ad834272c..22d9cd398 100644 --- a/test-tap/reporters/default.failfast2.v16.log +++ b/test-tap/reporters/default.failfast2.v16.log @@ -5,6 +5,7 @@ ─ a › fails + a.cjs:3 2: diff --git a/test-tap/reporters/default.failfast2.v17.log b/test-tap/reporters/default.failfast2.v17.log index ad834272c..22d9cd398 100644 --- a/test-tap/reporters/default.failfast2.v17.log +++ b/test-tap/reporters/default.failfast2.v17.log @@ -5,6 +5,7 @@ ─ a › fails + a.cjs:3 2: diff --git a/test-tap/reporters/default.regular.v12.log b/test-tap/reporters/default.regular.v12.log index f259e2bcd..e30d6166f 100644 --- a/test-tap/reporters/default.regular.v12.log +++ b/test-tap/reporters/default.regular.v12.log @@ -118,6 +118,7 @@ ─ nested-objects › format with max depth 4 + nested-objects.cjs:29 28: }; @@ -146,6 +147,7 @@ nested-objects › format like with max depth 4 + nested-objects.cjs:55 54: }; @@ -168,6 +170,7 @@ output-in-hook › failing test + output-in-hook.cjs:34 33: test('failing test', t => { @@ -181,6 +184,7 @@ test › fails + test.cjs:9 8: @@ -194,11 +198,16 @@ test › no longer failing + Error: Test was expected to fail, but succeeded, you should stop marking the test as failing test › logs + + ℹ hello + ℹ world + test.cjs:18 17: t.log('world'); @@ -212,6 +221,7 @@ test › formatted + test.cjs:22 21: test('formatted', t => { @@ -228,6 +238,7 @@ test › implementation throws non-error + Error thrown in test: null @@ -235,6 +246,7 @@ traces-in-t-throws › throws + traces-in-t-throws.cjs:12 11: test('throws', t => { @@ -258,6 +270,7 @@ traces-in-t-throws › notThrows + traces-in-t-throws.cjs:16 15: test('notThrows', t => { @@ -277,6 +290,7 @@ traces-in-t-throws › notThrowsAsync + traces-in-t-throws.cjs:20 19: test('notThrowsAsync', t => { @@ -296,6 +310,7 @@ traces-in-t-throws › throwsAsync + traces-in-t-throws.cjs:24 23: test('throwsAsync', t => { @@ -315,6 +330,7 @@ traces-in-t-throws › throwsAsync different error + traces-in-t-throws.cjs:27 26: diff --git a/test-tap/reporters/default.regular.v14.log b/test-tap/reporters/default.regular.v14.log index f259e2bcd..e30d6166f 100644 --- a/test-tap/reporters/default.regular.v14.log +++ b/test-tap/reporters/default.regular.v14.log @@ -118,6 +118,7 @@ ─ nested-objects › format with max depth 4 + nested-objects.cjs:29 28: }; @@ -146,6 +147,7 @@ nested-objects › format like with max depth 4 + nested-objects.cjs:55 54: }; @@ -168,6 +170,7 @@ output-in-hook › failing test + output-in-hook.cjs:34 33: test('failing test', t => { @@ -181,6 +184,7 @@ test › fails + test.cjs:9 8: @@ -194,11 +198,16 @@ test › no longer failing + Error: Test was expected to fail, but succeeded, you should stop marking the test as failing test › logs + + ℹ hello + ℹ world + test.cjs:18 17: t.log('world'); @@ -212,6 +221,7 @@ test › formatted + test.cjs:22 21: test('formatted', t => { @@ -228,6 +238,7 @@ test › implementation throws non-error + Error thrown in test: null @@ -235,6 +246,7 @@ traces-in-t-throws › throws + traces-in-t-throws.cjs:12 11: test('throws', t => { @@ -258,6 +270,7 @@ traces-in-t-throws › notThrows + traces-in-t-throws.cjs:16 15: test('notThrows', t => { @@ -277,6 +290,7 @@ traces-in-t-throws › notThrowsAsync + traces-in-t-throws.cjs:20 19: test('notThrowsAsync', t => { @@ -296,6 +310,7 @@ traces-in-t-throws › throwsAsync + traces-in-t-throws.cjs:24 23: test('throwsAsync', t => { @@ -315,6 +330,7 @@ traces-in-t-throws › throwsAsync different error + traces-in-t-throws.cjs:27 26: diff --git a/test-tap/reporters/default.regular.v16.log b/test-tap/reporters/default.regular.v16.log index f259e2bcd..e30d6166f 100644 --- a/test-tap/reporters/default.regular.v16.log +++ b/test-tap/reporters/default.regular.v16.log @@ -118,6 +118,7 @@ ─ nested-objects › format with max depth 4 + nested-objects.cjs:29 28: }; @@ -146,6 +147,7 @@ nested-objects › format like with max depth 4 + nested-objects.cjs:55 54: }; @@ -168,6 +170,7 @@ output-in-hook › failing test + output-in-hook.cjs:34 33: test('failing test', t => { @@ -181,6 +184,7 @@ test › fails + test.cjs:9 8: @@ -194,11 +198,16 @@ test › no longer failing + Error: Test was expected to fail, but succeeded, you should stop marking the test as failing test › logs + + ℹ hello + ℹ world + test.cjs:18 17: t.log('world'); @@ -212,6 +221,7 @@ test › formatted + test.cjs:22 21: test('formatted', t => { @@ -228,6 +238,7 @@ test › implementation throws non-error + Error thrown in test: null @@ -235,6 +246,7 @@ traces-in-t-throws › throws + traces-in-t-throws.cjs:12 11: test('throws', t => { @@ -258,6 +270,7 @@ traces-in-t-throws › notThrows + traces-in-t-throws.cjs:16 15: test('notThrows', t => { @@ -277,6 +290,7 @@ traces-in-t-throws › notThrowsAsync + traces-in-t-throws.cjs:20 19: test('notThrowsAsync', t => { @@ -296,6 +310,7 @@ traces-in-t-throws › throwsAsync + traces-in-t-throws.cjs:24 23: test('throwsAsync', t => { @@ -315,6 +330,7 @@ traces-in-t-throws › throwsAsync different error + traces-in-t-throws.cjs:27 26: diff --git a/test-tap/reporters/default.regular.v17.log b/test-tap/reporters/default.regular.v17.log index f259e2bcd..e30d6166f 100644 --- a/test-tap/reporters/default.regular.v17.log +++ b/test-tap/reporters/default.regular.v17.log @@ -118,6 +118,7 @@ ─ nested-objects › format with max depth 4 + nested-objects.cjs:29 28: }; @@ -146,6 +147,7 @@ nested-objects › format like with max depth 4 + nested-objects.cjs:55 54: }; @@ -168,6 +170,7 @@ output-in-hook › failing test + output-in-hook.cjs:34 33: test('failing test', t => { @@ -181,6 +184,7 @@ test › fails + test.cjs:9 8: @@ -194,11 +198,16 @@ test › no longer failing + Error: Test was expected to fail, but succeeded, you should stop marking the test as failing test › logs + + ℹ hello + ℹ world + test.cjs:18 17: t.log('world'); @@ -212,6 +221,7 @@ test › formatted + test.cjs:22 21: test('formatted', t => { @@ -228,6 +238,7 @@ test › implementation throws non-error + Error thrown in test: null @@ -235,6 +246,7 @@ traces-in-t-throws › throws + traces-in-t-throws.cjs:12 11: test('throws', t => { @@ -258,6 +270,7 @@ traces-in-t-throws › notThrows + traces-in-t-throws.cjs:16 15: test('notThrows', t => { @@ -277,6 +290,7 @@ traces-in-t-throws › notThrowsAsync + traces-in-t-throws.cjs:20 19: test('notThrowsAsync', t => { @@ -296,6 +310,7 @@ traces-in-t-throws › throwsAsync + traces-in-t-throws.cjs:24 23: test('throwsAsync', t => { @@ -315,6 +330,7 @@ traces-in-t-throws › throwsAsync different error + traces-in-t-throws.cjs:27 26: From 65600b36e8183ca17e316da7dfda7fcfbcd36013 Mon Sep 17 00:00:00 2001 From: il3ven Date: Sun, 8 May 2022 14:48:03 +0530 Subject: [PATCH 6/9] write new line when no logs are present --- lib/reporters/default.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/reporters/default.js b/lib/reporters/default.js index 49f28f009..d8070a46c 100644 --- a/lib/reporters/default.js +++ b/lib/reporters/default.js @@ -516,6 +516,9 @@ export default class Reporter { writeFailure(event) { this.lineWriter.writeLine(colors.title(this.prefixTitle(event.testFile, event.title))); + if (!event.logs || event.logs.length <= 0) + this.lineWriter.writeLine(); + this.writeErr(event); } From 4fa0cb754dc5aac263536506efcd2cc67a30dd77 Mon Sep 17 00:00:00 2001 From: il3ven Date: Sun, 8 May 2022 15:07:53 +0530 Subject: [PATCH 7/9] update .log files --- test-tap/reporters/default.regular.v12.log | 4 ---- test-tap/reporters/default.regular.v14.log | 4 ---- test-tap/reporters/default.regular.v16.log | 4 ---- test-tap/reporters/default.regular.v17.log | 4 ---- 4 files changed, 16 deletions(-) diff --git a/test-tap/reporters/default.regular.v12.log b/test-tap/reporters/default.regular.v12.log index e30d6166f..aafc12bfb 100644 --- a/test-tap/reporters/default.regular.v12.log +++ b/test-tap/reporters/default.regular.v12.log @@ -204,10 +204,6 @@ test › logs - - ℹ hello - ℹ world - test.cjs:18 17: t.log('world'); diff --git a/test-tap/reporters/default.regular.v14.log b/test-tap/reporters/default.regular.v14.log index e30d6166f..aafc12bfb 100644 --- a/test-tap/reporters/default.regular.v14.log +++ b/test-tap/reporters/default.regular.v14.log @@ -204,10 +204,6 @@ test › logs - - ℹ hello - ℹ world - test.cjs:18 17: t.log('world'); diff --git a/test-tap/reporters/default.regular.v16.log b/test-tap/reporters/default.regular.v16.log index e30d6166f..aafc12bfb 100644 --- a/test-tap/reporters/default.regular.v16.log +++ b/test-tap/reporters/default.regular.v16.log @@ -204,10 +204,6 @@ test › logs - - ℹ hello - ℹ world - test.cjs:18 17: t.log('world'); diff --git a/test-tap/reporters/default.regular.v17.log b/test-tap/reporters/default.regular.v17.log index e30d6166f..aafc12bfb 100644 --- a/test-tap/reporters/default.regular.v17.log +++ b/test-tap/reporters/default.regular.v17.log @@ -204,10 +204,6 @@ test › logs - - ℹ hello - ℹ world - test.cjs:18 17: t.log('world'); From 894d58c0b674edcf2be3eb293cfcbff4a92f9870 Mon Sep 17 00:00:00 2001 From: il3ven Date: Sun, 8 May 2022 15:15:36 +0530 Subject: [PATCH 8/9] lint fix --- lib/reporters/default.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/reporters/default.js b/lib/reporters/default.js index d8070a46c..332ef95bb 100644 --- a/lib/reporters/default.js +++ b/lib/reporters/default.js @@ -516,8 +516,9 @@ export default class Reporter { writeFailure(event) { this.lineWriter.writeLine(colors.title(this.prefixTitle(event.testFile, event.title))); - if (!event.logs || event.logs.length <= 0) + if (!event.logs || event.logs.length <= 0) { this.lineWriter.writeLine(); + } this.writeErr(event); } From abe2925e7f4ed1407b6a4f0d8339031572b85331 Mon Sep 17 00:00:00 2001 From: Mark Wubben Date: Mon, 16 May 2022 10:50:43 +0200 Subject: [PATCH 9/9] Arrays cannot have negative length --- lib/reporters/default.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reporters/default.js b/lib/reporters/default.js index 332ef95bb..4cfa1f9fc 100644 --- a/lib/reporters/default.js +++ b/lib/reporters/default.js @@ -516,7 +516,7 @@ export default class Reporter { writeFailure(event) { this.lineWriter.writeLine(colors.title(this.prefixTitle(event.testFile, event.title))); - if (!event.logs || event.logs.length <= 0) { + if (!event.logs || event.logs.length === 0) { this.lineWriter.writeLine(); }