diff --git a/docs/fr/api/README.md b/docs/fr/api/README.md index 400bdbccf..c59df9fc0 100644 --- a/docs/fr/api/README.md +++ b/docs/fr/api/README.md @@ -2,7 +2,7 @@ * [mount (EN)](./mount.md) * [shallow (EN)](./shallow.md) -* [Options de montage (EN)](./options.md) +* [Mounting Options (EN)](./options.md) - [context (EN)](./options.md#context) - [slots (EN)](./options.md#slots) - [stubs (EN)](./options.md#stubs) @@ -15,7 +15,7 @@ * [contains (EN)](./wrapper/contains.md) * [emitted (EN)](./wrapper/emitted.md) * [emittedByOrder (EN)](./wrapper/emittedByOrder.md) - * [exists](./wrapper/exists.md) + * [exists (EN)](./wrapper/exists.md) * [destroy (EN)](./wrapper/destroy.md) * [find (EN)](./wrapper/find.md) * [findAll (EN)](./wrapper/findAll.md) @@ -28,17 +28,17 @@ * [isEmpty (EN)](./wrapper/isEmpty.md) * [isVueInstance (EN)](./wrapper/isVueInstance.md) * [name (EN)](./wrapper/name.md) - * [setComputed](./wrapper/setComputed.md) - * [setData](./wrapper/setData.md) - * [setMethods](./wrapper/setMethods.md) - * [setProps](./wrapper/setProps.md) - * [text](./wrapper/text.md) + * [setComputed (EN)](./wrapper/setComputed.md) + * [setData (EN)](./wrapper/setData.md) + * [setMethods (EN)](./wrapper/setMethods.md) + * [setProps (EN)](./wrapper/setProps.md) + * [text (EN)](./wrapper/text.md) * [trigger (EN)](./wrapper/trigger.md) * [update (EN)](./wrapper/update.md) * [WrapperArray (EN)](./wrapper-array/README.md) * [at (EN)](./wrapper-array/at.md) * [contains (EN)](./wrapper-array/contains.md) - * [exists](./wrapper/exists.md) + * [exists (EN)](./wrapper/exists.md) * [destroy (EN)](./wrapper-array/destroy.md) * [hasAttribute (EN)](./wrapper-array/hasAttribute.md) * [hasClass (EN)](./wrapper-array/hasClass.md) @@ -53,9 +53,9 @@ * [setProps (EN)](./wrapper-array/setProps.md) * [trigger (EN)](./wrapper-array/trigger.md) * [update (EN)](./wrapper-array/update.md) -* [components](./components/README.md) - * [TransitionStub](./components/TransitionStub.md) - * [TransitionGroupStub](./components/TransitionGroupStub.md) +* [components (EN)](./components/README.md) + * [TransitionStub (EN)](./components/TransitionStub.md) + * [TransitionGroupStub (EN)](./components/TransitionGroupStub.md) +* [Selectors (EN)](./selectors.md) * [createLocalVue (EN)](./createLocalVue.md) -* [Selecteurs (EN)](./selectors.md) * [config (EN)](./config.md) diff --git a/docs/fr/api/components/TransitionGroupStub.md b/docs/fr/api/components/TransitionGroupStub.md index 3bf715b8b..5bede67d8 100644 --- a/docs/fr/api/components/TransitionGroupStub.md +++ b/docs/fr/api/components/TransitionGroupStub.md @@ -1,8 +1,8 @@ # TransitionGroupStub -
⚠Cette page est actuellement en cours de traduction française. Vous pouvez repasser plus tard ou participer à la traduction de celle-ci dès maintenant !
A component to stub the `transition-group` wrapper component. Instead of performing transitions asynchronously, it returns the child components synchronously.
+⚠Cette page est actuellement en cours de traduction française. Vous pouvez repasser plus tard ou participer à la traduction de celle-ci dès maintenant !
A component to stub the `transition-group` component. Instead of performing transitions asynchronously, it returns the child components synchronously.
-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: +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: ```js import VueTestUtils from 'vue-test-utils' @@ -10,7 +10,7 @@ import VueTestUtils from 'vue-test-utils' VueTestUtils.config.stubs['transition-group'] = false ``` -To reset it to stub transition components: +To reset it to stub `transition-group` components: ```js import VueTestUtils, { TransitionGroupStub } from 'vue-test-utils' diff --git a/docs/fr/api/components/TransitionStub.md b/docs/fr/api/components/TransitionStub.md index 3ec0d4724..d03dbfbba 100644 --- a/docs/fr/api/components/TransitionStub.md +++ b/docs/fr/api/components/TransitionStub.md @@ -1,8 +1,8 @@ # TransitionStub -⚠Cette page est actuellement en cours de traduction française. Vous pouvez repasser plus tard ou participer à la traduction de celle-ci dès maintenant !
A component to stub the `transition` wrapper component. Instead of performing transitions asynchronously, it returns the child component synchronously.
+⚠Cette page est actuellement en cours de traduction française. Vous pouvez repasser plus tard ou participer à la traduction de celle-ci dès maintenant !
A component to stub the `transition` component. Instead of performing transitions asynchronously, it returns the child component synchronously.
-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: +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: ```js import VueTestUtils from 'vue-test-utils' @@ -10,7 +10,7 @@ import VueTestUtils from 'vue-test-utils' VueTestUtils.config.stubs.transition = false ``` -To reset it to stub transition components: +To reset it to stub `transition` components: ```js import VueTestUtils, { TransitionStub } from 'vue-test-utils' diff --git a/docs/fr/api/config.md b/docs/fr/api/config.md index 7c7af33f1..e2d92890e 100644 --- a/docs/fr/api/config.md +++ b/docs/fr/api/config.md @@ -14,7 +14,7 @@ Stubs to use in components. These are overwritten by `stubs` passed in the mounting options. -When passing `stubs` as an array in the mounting options, `config.stubs` are converted to an array, and will stub components with a basic component that returns a div. +When passing `stubs` as an array in the mounting options, `config.stubs` are converted to an array, and will stub components with a basic component that returns ``. Example: diff --git a/docs/fr/api/mount.md b/docs/fr/api/mount.md index 6fc5bb2bf..3e4b357c0 100644 --- a/docs/fr/api/mount.md +++ b/docs/fr/api/mount.md @@ -122,8 +122,8 @@ import Faz from './Faz.vue' describe('Foo', () => { it('renders a div', () => { const wrapper = mount(Foo, { - stub: { - Bar: '', BarFoo: true, FooBar: Faz } diff --git a/docs/fr/api/options.md b/docs/fr/api/options.md index 5dbdc20f9..768550a06 100644 --- a/docs/fr/api/options.md +++ b/docs/fr/api/options.md @@ -13,6 +13,7 @@ Vue options are passed to the component when a new instance is created. , e.g. ` - [`localVue`](#localvue) - [`attachToDocument`](#attachtodocument) - [`attrs`](#attrs) +- [`provide`](#provide) - [`listeners`](#listeners) ### `context` @@ -60,7 +61,7 @@ expect(wrapper.find('div')).toBe(true) - type: `{ [name: string]: Component | boolean } | Array