Skip to content

Commit

Permalink
fix: broken links for deprecated methods (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebisbe authored and eddyerburgh committed Jul 1, 2018
1 parent cc3686f commit 5bb6a0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/test-utils/src/wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default class Wrapper implements BaseWrapper {
warn(
`hasAttribute() has been deprecated and will be ` +
`removed in version 1.0.0. Use attributes() ` +
`instead—https://vue-test-utils.vuejs.org/en/api/wrapper/attributes`
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#attributes`
)

if (typeof attribute !== 'string') {
Expand All @@ -225,7 +225,7 @@ export default class Wrapper implements BaseWrapper {
warn(
`hasClass() has been deprecated and will be removed ` +
`in version 1.0.0. Use classes() ` +
`instead—https://vue-test-utils.vuejs.org/en/api/wrapper/classes`
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#classes`
)
let targetClass = className

Expand All @@ -252,7 +252,7 @@ export default class Wrapper implements BaseWrapper {
warn(
`hasProp() has been deprecated and will be removed ` +
`in version 1.0.0. Use props() ` +
`instead—https://vue-test-utils.vuejs.org/en/api/wrapper/props`
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#props`
)

if (!this.isVueInstance()) {
Expand Down

0 comments on commit 5bb6a0b

Please sign in to comment.