Skip to content
Permalink
Browse files
fix: fix references to documents in warnings (#1052)
  • Loading branch information
numb86 authored and eddyerburgh committed Dec 4, 2018
1 parent 4338403 commit 45e2fe485a863c06194d616f891c8ed8f9c6eb4b
Showing with 3 additions and 3 deletions.
  1. +3 −3 packages/test-utils/src/wrapper.js
@@ -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') {
@@ -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

@@ -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()) {

0 comments on commit 45e2fe4

Please sign in to comment.