diff --git a/docs/en/api/mount.md b/docs/en/api/mount.md
index aaddd3e2f..6dcd1286b 100644
--- a/docs/en/api/mount.md
+++ b/docs/en/api/mount.md
@@ -1,23 +1,23 @@
-# mount(component {, options}])
+# mount(composant {, options}])
-- **Arguments:**
+- **Arguments :**
- - `{Component} component`
- - `{Object} options`
+ - `{Composant} composant`
+ - `{Objet} options`
-- **Returns:** `{Wrapper}`
+- **Retourne :** `{Wrapper}`
-- **Options:**
+- **Options :**
-See [options](options.md)
+Voir [options](options.md)
-- **Usage:**
+- **Utilisation :**
-Returns [`Wrapper`](wrapper/README.md) of first DOM node or Vue component matching selector.
+Retourne un [`Wrapper`](wrapper/README.md)du premier nœud DOM ou le composant Vue correspondant au selecteur.
-Use any valid [selector](selectors.md).
+Utilisez n'importe quel [sélecteur](selectors.md) valide.
-**Without options:**
+**Sans options :**
```js
import { mount } from 'vue-test-utils'
@@ -25,13 +25,13 @@ import { expect } from 'chai'
import Foo from './Foo.vue'
describe('Foo', () => {
- it('renders a div', () => {
+ it('rend une div', () => {
const wrapper = mount(Foo)
expect(wrapper.contains('div')).toBe(true)
})
})
```
-**With Vue options:**
+**Avec options Vue :**
```js
import { mount } from 'vue-test-utils'
@@ -39,7 +39,7 @@ import { expect } from 'chai'
import Foo from './Foo.vue'
describe('Foo', () => {
- it('renders a div', () => {
+ it('rend une div', () => {
const wrapper = mount(Foo, {
propsData: {
color: 'red'
@@ -50,7 +50,7 @@ describe('Foo', () => {
})
```
-**Attach to DOM:**
+**Attacher au DOM :**
```js
import { mount } from 'vue-test-utils'
@@ -58,7 +58,7 @@ import { expect } from 'chai'
import Foo from './Foo.vue'
describe('Foo', () => {
- it('renders a div', () => {
+ it('rend une div', () => {
const wrapper = mount(Foo, {
attachToDocument: true
})
@@ -66,7 +66,7 @@ describe('Foo', () => {
})
})
```
-**Default and named slots:**
+**Slot nommé et par défaut :**
```js
import { mount } from 'vue-test-utils'
@@ -76,11 +76,11 @@ import Bar from './Bar.vue'
import FooBar from './FooBar.vue'
describe('Foo', () => {
- it('renders a div', () => {
+ it('rend une div', () => {
const wrapper = mount(Foo, {
slots: {
default: [Bar, FooBar],
- fooBar: FooBar, // Will match