From 0dea53c175939cdbf22daae9880effb8b47d263b Mon Sep 17 00:00:00 2001 From: numb86 <86numb@gmail.com> Date: Mon, 3 Dec 2018 19:00:19 +0900 Subject: [PATCH 1/2] fix: Fix references to documents. --- packages/test-utils/src/wrapper.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/test-utils/src/wrapper.js b/packages/test-utils/src/wrapper.js index 86047d251..c487a432a 100644 --- a/packages/test-utils/src/wrapper.js +++ b/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-key` ) 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-classname` ) 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-key` ) if (!this.isVueInstance()) { From 402b9f948fa97123627485dee7735633738135c9 Mon Sep 17 00:00:00 2001 From: numb86 <86numb@gmail.com> Date: Tue, 4 Dec 2018 17:37:23 +0900 Subject: [PATCH 2/2] fix: Fix URLs. --- packages/test-utils/src/wrapper.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/test-utils/src/wrapper.js b/packages/test-utils/src/wrapper.js index c487a432a..dae492e5b 100644 --- a/packages/test-utils/src/wrapper.js +++ b/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-key` + `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-classname` + `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-key` + `instead—https://vue-test-utils.vuejs.org/api/wrapper/props.html` ) if (!this.isVueInstance()) {