Skip to content

Commit 45e2fe4

Browse files
numb86eddyerburgh
authored andcommitted
fix: fix references to documents in warnings (#1052)
1 parent 4338403 commit 45e2fe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: packages/test-utils/src/wrapper.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export default class Wrapper implements BaseWrapper {
233233
warn(
234234
`hasAttribute() has been deprecated and will be ` +
235235
`removed in version 1.0.0. Use attributes() ` +
236-
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#attributes`
236+
`instead—https://vue-test-utils.vuejs.org/api/wrapper/attributes.html`
237237
)
238238

239239
if (typeof attribute !== 'string') {
@@ -258,7 +258,7 @@ export default class Wrapper implements BaseWrapper {
258258
warn(
259259
`hasClass() has been deprecated and will be removed ` +
260260
`in version 1.0.0. Use classes() ` +
261-
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#classes`
261+
`instead—https://vue-test-utils.vuejs.org/api/wrapper/classes.html`
262262
)
263263
let targetClass = className
264264

@@ -285,7 +285,7 @@ export default class Wrapper implements BaseWrapper {
285285
warn(
286286
`hasProp() has been deprecated and will be removed ` +
287287
`in version 1.0.0. Use props() ` +
288-
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#props`
288+
`instead—https://vue-test-utils.vuejs.org/api/wrapper/props.html`
289289
)
290290

291291
if (!this.isVueInstance()) {

0 commit comments

Comments
 (0)