Skip to content

Commit a4f050b

Browse files
authored
docs(computed-properties.md): fix typo (#189)
* docs(computed-properties.md): fix typo * docs(computed-properties.md): fix typo in v3 directory * docs(stubbing-components.md): fix typo in v3 directory
1 parent 0d628db commit a4f050b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/computed-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Find the Vue.js 3 version [here](/v3/).
66

77
You can find the test described on this page [here](https://github.com/lmiller1990/vue-testing-handbook/tree/master/demo-app/tests/unit/NumberRenderer.spec.js).
88

9-
Testing computed properties are especially simple, since they are just plain old JavaScript functions.
9+
Testing computed properties is especially simple, since they are just plain old JavaScript functions.
1010

1111
Let's start with looking at two different ways to test a `computed` property. We will develop a `<NumberRenderer>` component, that renders either odd or even numbers, based on a `numbers` computed property.
1212

src/v3/computed-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Find the Vue.js 2 version [here](/).
66

77
You can find the test described on this page [here](https://github.com/lmiller1990/vue-testing-handbook/tree/master/demo-app-vue-3/tests/unit/NumberRenderer.spec.js).
88

9-
Testing computed properties are especially simple, since they are just plain old JavaScript functions.
9+
Testing computed properties is especially simple, since they are just plain old JavaScript functions.
1010

1111
Let's start with looking at two different ways to test a `computed` property. We will develop a `<NumberRenderer>` component, that renders either odd or even numbers, based on a `numbers` computed property.
1212

src/v3/stubbing-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default {
8383

8484
## Write a test using `mount`
8585

86-
Let's start off by writing a test to verify that `<ComponentWithAsyncCall>` is rendered. Note that `findComponent` is used. `find` is used for querying DOM elements, and uses the `querySelector` syntax. `findComponent` is used when looking for a specific component, a takes a component as the argument.
86+
Let's start off by writing a test to verify that `<ComponentWithAsyncCall>` is rendered. Note that `findComponent` is used. `find` is used for querying DOM elements, and uses the `querySelector` syntax. `findComponent` is used when looking for a specific component, it takes a component as the argument.
8787

8888
```js
8989
import { shallowMount, mount } from '@vue/test-utils'

0 commit comments

Comments
 (0)