Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix references to documents. #1052

Merged
merged 2 commits into from
Dec 4, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/test-utils/src/wrapper.js
Original file line number Diff line number Diff line change
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-key`
Copy link
Member

@eddyerburgh eddyerburgh Dec 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#attributes-key`
`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-classname`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#classes-classname`
`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-key`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`instead—https://vue-test-utils.vuejs.org/api/wrapper/#props-key`
`instead—https://vue-test-utils.vuejs.org/api/wrapper/props.html`

)

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