Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: fix references to documents in warnings (#1052)
  • Loading branch information
numb86 authored and eddyerburgh committed Dec 4, 2018
1 parent 4338403 commit 45e2fe4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/test-utils/src/wrapper.js
Expand Up @@ -233,7 +233,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/api/wrapper/#attributes`
`instead—https://vue-test-utils.vuejs.org/api/wrapper/attributes.html`
)

if (typeof attribute !== 'string') {
Expand All @@ -258,7 +258,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/api/wrapper/#classes`
`instead—https://vue-test-utils.vuejs.org/api/wrapper/classes.html`
)
let targetClass = className

Expand All @@ -285,7 +285,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/api/wrapper/#props`
`instead—https://vue-test-utils.vuejs.org/api/wrapper/props.html`
)

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

0 comments on commit 45e2fe4

Please sign in to comment.