123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- [?25l---tty-stream-chunk-separator
- ---tty-stream-chunk-separator
- * ---tty-stream-chunk-separator
- [2K[1G---tty-stream-chunk-separator
- * unhandled-rejection [90m[2m›[22m[39m passes
- [32m1 passed[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * unhandled-rejection [90m[2m›[22m[39m unhandled non-error rejection
- [32m2 passed[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * uncaught-exception [90m[2m›[22m[39m passes
- [32m3 passed[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- stdout
- * uncaught-exception [90m[2m›[22m[39m passes
- [32m3 passed[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- stderr
- * uncaught-exception [90m[2m›[22m[39m passes
- [32m3 passed[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m passes
- [32m4 passed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m fails
- [32m4 passed[39m
- [31m1 test failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * [31mtest [90m[2m›[22m[31m known failure[39m
- [32m4 passed[39m
- [31m1 known failure[39m
- [31m1 test failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m no longer failing
- [32m4 passed[39m
- [31m1 known failure[39m
- [31m2 tests failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m logs
- [32m4 passed[39m
- [31m1 known failure[39m
- [31m3 tests failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m formatted
- [32m4 passed[39m
- [31m1 known failure[39m
- [31m4 tests failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m power-assert
- [32m4 passed[39m
- [31m1 known failure[39m
- [31m5 tests failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m bad throws
- [32m4 passed[39m
- [31m1 known failure[39m
- [31m6 tests failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m bad notThrows
- [32m4 passed[39m
- [31m1 known failure[39m
- [31m7 tests failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * test [90m[2m›[22m[39m implementation throws non-error
- [32m4 passed[39m
- [31m1 known failure[39m
- [31m8 tests failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- * slow [90m[2m›[22m[39m slow
- [32m5 passed[39m
- [31m1 known failure[39m
- [31m8 tests failed[39m
- [33m1 skipped[39m
- [34m1 todo[39m---tty-stream-chunk-separator
- [2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G[1A[2K[1G---tty-stream-chunk-separator
- [?25h
- [31m8 tests failed[39m
- [31m1 known failure[39m
- [33m1 test skipped[39m
- [34m1 test todo[39m
- [31m2 unhandled rejections[39m
- [31m2 uncaught exceptions[39m
- [31mtest [90m[2m›[22m[31m known failure[39m
- [1m[37mtest [90m[2m›[1m[37m fails[39m[22m
- [90m~/test/fixture/report/regular/test.js:12[39m
- [90m11:[39m
- [41m 12: test('fails', t => t.fail());[49m
- [90m13:[39m
- Test failed via `t.fail()`
- [1m[37mtest [90m[2m›[1m[37m no longer failing[39m[22m
- Error: Test was expected to fail, but succeeded, you should stop marking the test as failing
- [1m[37mtest [90m[2m›[1m[37m logs[39m[22m
- [35mℹ[39m [90mhello[39m
- [35mℹ[39m [90mworld[39m
- [90m~/test/fixture/report/regular/test.js:21[39m
- [90m20:[39m t.log('world');
- [41m 21: t.fail(); [49m
- [90m22:[39m });
- Test failed via `t.fail()`
- [1m[37mtest [90m[2m›[1m[37m formatted[39m[22m
- [90m~/test/fixture/report/regular/test.js:25[39m
- [90m24:[39m test('formatted', t => {
- [41m 25: t.deepEqual('foo', 'bar');[49m
- [90m26:[39m });
- Difference:
- [31m-[39m [34m'[39m[31mfoo[39m[34m'[39m
- [32m+[39m [34m'[39m[32mbar[39m[34m'[39m
- [1m[37mtest [90m[2m›[1m[37m power-assert[39m[22m
- [90m~/test/fixture/report/regular/test.js:30[39m
- [90m29:[39m const foo = 'bar';
- [41m 30: t.falsy(foo); [49m
- [90m31:[39m });
- Value is not falsy:
- [34m'[39m[34mbar[39m[34m'[39m
- foo
- [90m=>[39m [34m'[39m[34mbar[39m[34m'[39m
- [1m[37mtest [90m[2m›[1m[37m bad throws[39m[22m
- [90m~/test/fixture/report/regular/test.js:37[39m
- [90m36:[39m };
- [41m 37: t.throws(fn());[49m
- [90m38:[39m });
- Improper usage of `t.throws()` detected
- The following error was thrown, possibly before `t.throws()` could be called:
- [35mError[39m [90m{[39m
- message: [34m'[39m[34merr[39m[34m'[39m[90m,[39m
- [90m}[39m
- Try wrapping the first argument to `t.throws()` in a function:
- [36mt.throws(() => { [39m[90m/* your code here */[39m[36m })[39m
- Visit the following URL for more details:
- [34m[4mhttps://github.com/avajs/ava#throwsfunctionpromise-error-message[24m[39m
- [90mfn (test.js:35:9)[39m
- [90mt (test.js:37:11)[39m
- [1m[37mtest [90m[2m›[1m[37m bad notThrows[39m[22m
- [90m~/test/fixture/report/regular/test.js:44[39m
- [90m43:[39m };
- [41m 44: t.notThrows(fn());[49m
- [90m45:[39m });
- Improper usage of `t.notThrows()` detected
- The following error was thrown, possibly before `t.notThrows()` could be called:
- [35mError[39m [90m{[39m
- message: [34m'[39m[34merr[39m[34m'[39m[90m,[39m
- [90m}[39m
- Try wrapping the first argument to `t.notThrows()` in a function:
- [36mt.notThrows(() => { [39m[90m/* your code here */[39m[36m })[39m
- Visit the following URL for more details:
- [34m[4mhttps://github.com/avajs/ava#throwsfunctionpromise-error-message[24m[39m
- [90mfn (test.js:42:9)[39m
- [90mt (test.js:44:14)[39m
- [1m[37mtest [90m[2m›[1m[37m implementation throws non-error[39m[22m
- Error thrown in test:
- [33mnull[39m
- [1m[37mUncaught exception in test/fixture/report/regular/bad-test-chain.js[39m[22m
- [90m~/test/fixture/report/regular/bad-test-chain.js:3[39m
- [90m2:[39m
- [41m 3: test.serial.test('passes', t => t.pass());[49m
- [90m4:[39m
- TypeError: _.default.serial.test is not a function
- [1m[37mUncaught exception in test/fixture/report/regular/uncaught-exception.js[39m[22m
- [90m~/test/fixture/report/regular/uncaught-exception.js:5[39m
- [90m4:[39m setTimeout(() => {
- [41m 5: throw new Error('Can/'t catch me');[49m
- [90m6:[39m });
- Error: Can't catch me
- [1m[37mUnhandled rejection in test/fixture/report/regular/unhandled-rejection.js[39m[22m
- [90m~/test/fixture/report/regular/unhandled-rejection.js:4[39m
- [90m3:[39m test('passes', t => {
- [41m 4: Promise.reject(new Error('Can/'t catch me'));[49m
- [90m5:[39m t.pass();
- Error: Can't catch me
- [1m[37mUnhandled rejection in test/fixture/report/regular/unhandled-rejection.js[39m[22m
- [33mnull[39m
- ---tty-stream-chunk-separator
|