Permalink
Browse files

Update link to `t.throws()` assertion in AVA output

Fixes #2007.
  • Loading branch information...
astrob0t authored and novemberborn committed Jan 11, 2019
1 parent f4b2d19 commit dc552bcb57181d9b6d9c39711013f9813ddc2c51
@@ -15,7 +15,7 @@ exports.forError = error => {
Visit the following URL for more details:
${chalk.blue.underline(`https://github.com/avajs/ava/blob/v${pkg.version}/readme.md#throwsthrower-expected-message`)}`;
${chalk.blue.underline(`https://github.com/avajs/ava/blob/v${pkg.version}/docs/03-assertions.md#throwsfn-expected-message`)}`;
}

if (assertion === 'snapshot') {
@@ -209,7 +209,7 @@ stderr

Visit the following URL for more details:

https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/docs/03-assertions.md#throwsfn-expected-message

fn (test.js:35:9)
fn (test.js:38:11)
@@ -238,7 +238,7 @@ stderr

Visit the following URL for more details:

https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/docs/03-assertions.md#throwsfn-expected-message

fn (test.js:43:9)
fn (test.js:46:14)
@@ -179,7 +179,7 @@ stderr

Visit the following URL for more details:

https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/docs/03-assertions.md#throwsfn-expected-message

fn (test.js:35:9)
fn (test.js:38:11)
@@ -208,7 +208,7 @@ stderr

Visit the following URL for more details:

https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/docs/03-assertions.md#throwsfn-expected-message

fn (test.js:43:9)
fn (test.js:46:14)

0 comments on commit dc552bc

Please sign in to comment.