-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relecture de development-tools.md
#20
Conversation
Signed-off-by: Bruno Lesieur <[email protected]>
en/guide/development-tools.md
Outdated
@@ -83,47 +86,49 @@ test.before('Init Nuxt.js', async t => { | |||
nuxt.listen(4000, 'localhost') | |||
}) | |||
|
|||
// Example of testing only generated html | |||
// Exemple de test uniquement sur le HTML générés |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je mettrais "généré"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quelle idée sensée !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^
Signed-off-by: Bruno Lesieur <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Des petites remarques ...
en/guide/development-tools.md
Outdated
|
||
## End-to-End Testing | ||
## Tests point par point (End-to-End) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je traduirais plutôt par "Tests de bout en bout"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'hésitais. Merci !
en/guide/development-tools.md
Outdated
|
||
[Ava](https://github.com/avajs/ava) is a powerful JavaScript testing framework, mixed with [jsdom](https://github.com/tmpvar/jsdom), we can use them to do end-to-end testing easily. | ||
[AVA](https://github.com/avajs/ava) est un framework JavaScript de test puissant, mixé avec [jsdom](https://github.com/tmpvar/jsdom), nous pouvons les utiliser pour écrire des tests point par point facilement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
point par point => de bout en bout
|
||
```bash | ||
npm install --save-dev babel-eslint eslint eslint-config-standard eslint-plugin-html eslint-plugin-promise eslint-plugin-standard | ||
``` | ||
|
||
Then, you can configure ESLint via a `.eslintrc.js` file in your root project directory: | ||
Puis, configurez ESLint via un fichier `.eslintrc.js` à la racine de votre projet : | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cette ligne vide est en trop par rapport à l'original. Ton PR sur l'original ne corrige pas cette ligne.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Déjà PR à l'originale, c'est maintenant en ordre
— nuxt#263
|
||
```js | ||
"scripts": { | ||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ." | ||
} | ||
``` | ||
|
||
You can now launch: | ||
Vous pouvez alors lancer : | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cette ligne vide est en trop par rapport à l'original. Ton PR sur l'original ne corrige pas cette ligne.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Déjà PR à l'originale, c'est maintenant en ordre
— nuxt#263
Signed-off-by: Bruno Lesieur <[email protected]>
Le dernier avant Module