Skip to content

Commit 5e28449

Browse files
38elementseddyerburgh
authored andcommitted
docs: improve TransitionGroupStub.md and TransitionStub.md (#200)
* Update TransitionGroupStub.md * Update TransitionStub.md * Update TransitionStub.md * Update TransitionGroupStub.md
1 parent eaf6182 commit 5e28449

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/en/api/components/TransitionGroupStub.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# TransitionGroupStub
22

3-
A component to stub the `transition-group` wrapper component. Instead of performing transitions asynchronously, it returns the child components synchronously.
3+
A component to stub the `transition-group` component. Instead of performing transitions asynchronously, it returns the child components synchronously.
44

5-
This is set to stub all `transition-group` components by default in the `vue-test-utils` config. To use the built-in `transition-group` wrapper component set `config.stubs['transition-group']` to false:
5+
This is set to stub all `transition-group` components by default in the `vue-test-utils` config. To use the built-in `transition-group` component set `config.stubs['transition-group']` to false:
66

77
```js
88
import VueTestUtils from 'vue-test-utils'
99

1010
VueTestUtils.config.stubs['transition-group'] = false
1111
```
1212

13-
To reset it to stub transition components:
13+
To reset it to stub `transition-group` components:
1414

1515
```js
1616
import VueTestUtils, { TransitionGroupStub } from 'vue-test-utils'

docs/en/api/components/TransitionStub.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# TransitionStub
22

3-
A component to stub the `transition` wrapper component. Instead of performing transitions asynchronously, it returns the child component synchronously.
3+
A component to stub the `transition` component. Instead of performing transitions asynchronously, it returns the child component synchronously.
44

5-
This is set to stub all `transition` components by default in the vue-test-utils config. To use the built-in `transition` wrapper component set `config.stubs.transition` to false:
5+
This is set to stub all `transition` components by default in the vue-test-utils config. To use the built-in `transition` component set `config.stubs.transition` to false:
66

77
```js
88
import VueTestUtils from 'vue-test-utils'
99

1010
VueTestUtils.config.stubs.transition = false
1111
```
1212

13-
To reset it to stub transition components:
13+
To reset it to stub `transition` components:
1414
```js
1515
import VueTestUtils, { TransitionStub } from 'vue-test-utils'
1616

0 commit comments

Comments
 (0)