-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbfba59
commit a10c989
Showing
17 changed files
with
965 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
---tty-stream-chunk-separator | ||
[35m⚠ Could not parse ast-syntax-error.cjs for line number selection[39m | ||
|
||
SyntaxError: Unexpected token (3:11) | ||
|
||
---tty-stream-chunk-separator | ||
[1mUncaught exception in ast-syntax-error.cjs[22m | ||
|
||
~/test-tap/fixture/report/edgecases/ast-syntax-error.cjs:3 | ||
const fn = do { | ||
^^ | ||
|
||
SyntaxError: Unexpected token 'do' | ||
|
||
---tty-stream-chunk-separator | ||
[31m✘ ast-syntax-error.cjs exited with a non-zero exit code: 1[39m | ||
---tty-stream-chunk-separator | ||
[31m✘ No tests found in ava-import-no-test-declaration.cjs[39m | ||
---tty-stream-chunk-separator | ||
|
||
[1mUncaught exception in import-and-use-test-member.cjs[22m | ||
|
||
[90mimport-and-use-test-member.cjs:3[39m | ||
|
||
[90m2:[39m | ||
[41m[1m 3: test('pass', t => t.pass());[22m[49m | ||
[90m4:[39m | ||
|
||
TypeError: test is not a function | ||
|
||
[90m› Object.<anonymous> (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1)[39m | ||
|
||
---tty-stream-chunk-separator | ||
[31m✘ import-and-use-test-member.cjs exited with a non-zero exit code: 1[39m | ||
---tty-stream-chunk-separator | ||
[31m✘ No tests found in no-ava-import.cjs, make sure to import "ava" at the top of your test file[39m | ||
---tty-stream-chunk-separator | ||
[31m✘ Line numbers for test.cjs did not match any tests[39m | ||
---tty-stream-chunk-separator | ||
|
||
[1mUncaught exception in throws.cjs[22m | ||
|
||
[90mthrows.cjs:1[39m | ||
|
||
[41m[1m 1: throw new Error('throws');[22m[49m | ||
[90m2:[39m | ||
|
||
Error: throws | ||
|
||
[90m› Object.<anonymous> (test-tap/fixture/report/edgecases/throws.cjs:1:7)[39m | ||
|
||
---tty-stream-chunk-separator | ||
[31m✘ throws.cjs exited with a non-zero exit code: 1[39m | ||
---tty-stream-chunk-separator | ||
[90m─[39m | ||
|
||
[31m3 uncaught exceptions[39m | ||
---tty-stream-chunk-separator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
---tty-stream-chunk-separator | ||
[31m✘ [fail]:[39m a [90m[2m›[22m[39m fails [3m[31mTest failed via `t.fail()`[39m[23m | ||
---tty-stream-chunk-separator | ||
[90m─[39m | ||
|
||
[1ma [90m[2m›[22m[1m[39m fails[22m | ||
|
||
[90ma.cjs:3[39m | ||
|
||
[90m2:[39m | ||
[41m[1m 3: test('fails', t => t.fail());[22m[49m | ||
[90m4:[39m | ||
|
||
Test failed via `t.fail()` | ||
|
||
[90m› test-tap/fixture/report/failfast/a.cjs:3:22[39m | ||
|
||
[90m─[39m | ||
|
||
[35m`--fail-fast` is on. 1 test file was skipped.[39m | ||
|
||
[31m1 test failed[39m | ||
---tty-stream-chunk-separator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
---tty-stream-chunk-separator | ||
[31m✘ [fail]:[39m a [90m[2m›[22m[39m fails [3m[31mTest failed via `t.fail()`[39m[23m | ||
---tty-stream-chunk-separator | ||
[90m─[39m | ||
|
||
[1ma [90m[2m›[22m[1m[39m fails[22m | ||
|
||
[90ma.cjs:3[39m | ||
|
||
[90m2:[39m | ||
[41m[1m 3: test('fails', t => t.fail()); [22m[49m | ||
[90m4:[39m test('passes', t => t.pass()); | ||
|
||
Test failed via `t.fail()` | ||
|
||
[90m› test-tap/fixture/report/failfast2/a.cjs:3:22[39m | ||
|
||
[90m─[39m | ||
|
||
[35m`--fail-fast` is on. At least 1 test was skipped, as well as 1 test file.[39m | ||
|
||
[31m1 test failed[39m | ||
---tty-stream-chunk-separator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
---tty-stream-chunk-separator | ||
[32m✔[39m a [90m[2m›[22m[39m only | ||
---tty-stream-chunk-separator | ||
[32m✔[39m b [90m[2m›[22m[39m passes | ||
---tty-stream-chunk-separator | ||
[90m─[39m | ||
|
||
[32m2 tests passed[39m | ||
---tty-stream-chunk-separator |
Oops, something went wrong.