Skip to content

Commit 9e977cd

Browse files
Matt Turnerchrisvfritz
Matt Turner
authored andcommitted
Updated broken links for the Vue Test Utils documentation. (#1643)
1 parent bf5a331 commit 9e977cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/v2/cookbook/unit-testing-vue-components.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Automated testing allows large teams of developers to maintain complex codebases
8282

8383
#### Getting started
8484

85-
[Vue Test Utils](https://github.com/vuejs/vue-test-utils) is the official library for unit testing Vue components. The [vue-cli](https://github.com/vuejs/vue-cli) `webpack` template comes with either Karma or Jest, both well supported test runners, and there are some [guides](https://vue-test-utils.vuejs.org/en/guides/) in the Vue Test Utils documentation.
85+
[Vue Test Utils](https://github.com/vuejs/vue-test-utils) is the official library for unit testing Vue components. The [vue-cli](https://github.com/vuejs/vue-cli) `webpack` template comes with either Karma or Jest, both well supported test runners, and there are some [guides](https://vue-test-utils.vuejs.org/guides/) in the Vue Test Utils documentation.
8686

8787
## Real-World Example
8888

@@ -231,7 +231,7 @@ The above test is fairly simple, but in practice Vue components often have other
231231
- committing or dispatching mutations or actions with a `Vuex` store
232232
- testing interaction
233233

234-
There are more complete examples showing such tests in the Vue Test Utils [guides](https://vue-test-utils.vuejs.org/en/guides/).
234+
There are more complete examples showing such tests in the Vue Test Utils [guides](https://vue-test-utils.vuejs.org/guides/).
235235

236236
Vue Test Utils and the enormous JavaScript ecosystem provides plenty of tooling to facilitate almost 100% test coverage. Unit tests are only one part of the testing pyramid, though. Some other types of tests include e2e (end to end) tests, and snapshot tests. Unit tests are the smallest and most simple of tests - they make assertions on the smallest units of work, isolating each part of a single component.
237237

src/v2/guide/unit-testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ it('updates the rendered message when vm.message updates', done => {
131131

132132
We are planning to work on a collection of common test helpers to make it easier to render components with different constraints (e.g. shallow rendering that ignores child components) and assert their output.
133133

134-
For more in-depth information on unit testing in Vue, check out [vue-test-utils](https://vue-test-utils.vuejs.org/en/) and our cookbook entry about [unit testing vue components](https://vuejs.org/v2/cookbook/unit-testing-vue-components.html).
134+
For more in-depth information on unit testing in Vue, check out [vue-test-utils](https://vue-test-utils.vuejs.org/) and our cookbook entry about [unit testing vue components](https://vuejs.org/v2/cookbook/unit-testing-vue-components.html).

0 commit comments

Comments
 (0)