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

Conversation

numb86
Copy link
Contributor

@numb86 numb86 commented Dec 3, 2018

I fixed the fragment identifier of the link of warn message.

@@ -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

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`

@@ -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`

@@ -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`

Copy link
Member

@eddyerburgh eddyerburgh left a comment

Choose a reason for hiding this comment

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

Thanks, but those URLs are a problem, because they include the method arguments. Can you please use the suggested URLs instead

@numb86
Copy link
Contributor Author

numb86 commented Dec 4, 2018

I appreciate your gently advice.
I fixed it, so please review again.

Copy link
Member

@eddyerburgh eddyerburgh left a comment

Choose a reason for hiding this comment

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

Thanks :)

@eddyerburgh eddyerburgh merged commit 45e2fe4 into vuejs:dev Dec 4, 2018
@numb86 numb86 deleted the fix-warn-message branch December 8, 2018 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants