Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"require-precompiled": "^0.1.0",
"resolve-cwd": "^2.0.0",
"slash": "^2.0.0",
"source-map-support": "^0.5.6",
"source-map-support": "^0.5.8",
"stack-utils": "^1.0.1",
"strip-ansi": "^4.0.0",
"strip-bom-buf": "^1.0.0",
Expand Down
6 changes: 3 additions & 3 deletions test/integration/stack-traces.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ test('enabling long stack traces will provide detailed debug information', t =>
test('`AssertionError` should capture infinity stack trace', t => {
execCli('infinity-stack-trace.js', (err, stdout) => {
t.ok(err);
t.match(stdout, /c \(.+?infinity-stack-trace\.js:6:20\)/);
t.match(stdout, /b \(.+?infinity-stack-trace\.js:7:18\)/);
t.match(stdout, /a \(.+?infinity-stack-trace\.js:8:18\)/);
t.match(stdout, /c \(.+?infinity-stack-trace\.js:7:18\)/);
t.match(stdout, /b \(.+?infinity-stack-trace\.js:8:18\)/);
t.match(stdout, /a \(.+?infinity-stack-trace\.js:10:2\)/);
t.end();
});
});
4 changes: 2 additions & 2 deletions test/reporters/mini.regular.log
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ stderr
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message

fn (test.js:35:9)
t (test.js:37:11)
fn (test.js:37:11)



Expand Down Expand Up @@ -239,7 +239,7 @@ stderr
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message

fn (test.js:42:9)
t (test.js:44:14)
fn (test.js:44:14)



Expand Down
2 changes: 1 addition & 1 deletion test/reporters/tap.failfast.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ not ok 1 - a › fails
name: AssertionError
message: Test failed via `t.fail()`
assertion: fail
at: 't (a.js:3:22)'
at: 'fail (a.js:3:22)'
...
---tty-stream-chunk-separator

Expand Down
2 changes: 1 addition & 1 deletion test/reporters/tap.failfast2.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ not ok 1 - a › fails
name: AssertionError
message: Test failed via `t.fail()`
assertion: fail
at: 't (a.js:3:22)'
at: 'fail (a.js:3:22)'
...
---tty-stream-chunk-separator
# 1 test remaining in test/fixture/report/failfast2/a.js
Expand Down
10 changes: 5 additions & 5 deletions test/reporters/tap.regular.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ not ok 1 - TypeError: _.default.serial.test is not a function
---
name: TypeError
message: _.default.serial.test is not a function
at: 'Object.<anonymous> (bad-test-chain.js:3:13)'
at: 'Object.test (bad-test-chain.js:3:13)'
...
---tty-stream-chunk-separator
# test/fixture/report/regular/bad-test-chain.js exited with a non-zero exit code: 1
Expand Down Expand Up @@ -65,7 +65,7 @@ not ok 13 - test › fails
name: AssertionError
message: Test failed via `t.fail()`
assertion: fail
at: 't (test.js:12:22)'
at: 'fail (test.js:12:22)'
...
---tty-stream-chunk-separator
# test › known failure
Expand All @@ -88,7 +88,7 @@ not ok 16 - test › logs
name: AssertionError
message: Test failed via `t.fail()`
assertion: fail
at: 't (test.js:21:4)'
at: 'fail (test.js:21:4)'
...
---tty-stream-chunk-separator
# test › formatted
Expand All @@ -100,7 +100,7 @@ not ok 17 - test › formatted
'Difference:': |-
- 'foo'
+ 'bar'
at: 't (test.js:25:4)'
at: 'deepEqual (test.js:25:4)'
...
---tty-stream-chunk-separator
# test › power-assert
Expand All @@ -111,7 +111,7 @@ not ok 18 - test › power-assert
operator: '!'
values:
'Value is not falsy:': '''bar'''
at: 't (test.js:30:4)'
at: 'falsy (test.js:30:4)'
...
---tty-stream-chunk-separator
# test › bad throws
Expand Down
4 changes: 2 additions & 2 deletions test/reporters/verbose.regular.log
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ stderr
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message

fn (test.js:35:9)
t (test.js:37:11)
fn (test.js:37:11)



Expand Down Expand Up @@ -211,7 +211,7 @@ stderr
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message

fn (test.js:42:9)
t (test.js:44:14)
fn (test.js:44:14)



Expand Down