-
Notifications
You must be signed in to change notification settings - Fork 665
docs: update docs/ru #907
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
docs: update docs/ru #907
Conversation
Russian translation: improve types
Сначала вам нужно создать проект. Если у вас нет Vue CLI, установите его глобально: | ||
|
||
```shell | ||
$ npm install -g @vue/cli-service-global |
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.
Command for installing vue-cli?
$ vue create hello-world | ||
``` | ||
|
||
В командной строке выберите `Manually select features`, выберите `TypeScript` и нажмите клавишу ввода. Это создаст проект с уже настроенным для работы с TypeScript. |
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.
С уже настроенным для работы TypeScript
|
||
### Настройка Jest | ||
|
||
Jest — это исполнитель тестов, разработанный Facebook, целью которого является поставка обширного решения для модульного тестирования. Вы можете узнать больше о Jest на его [официальной документации](https://facebook.github.io/jest/). |
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.
Вроде везде пишем "программа для запуска тестов"
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.
"поставка обширного решения" как-то не айс
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.
Jest is a test runner developed by Facebook, aiming to deliver a battery-included unit testing solution.
Какие варианты это по-другому перевести?
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.
направленный на предоставление многофункционального решения для модульного тестирования например
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.
Круто, как и всегда! 👍
$ npm install --save-dev jest @vue/test-utils | ||
``` | ||
|
||
Затем определите скрипт `test:unit` в `package.json`. |
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.
определите команду в scripts
|
||
### Написание модульного теста | ||
|
||
Теперь у нас есть проект, пришло время написать единичный тест. |
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.
пришло время написать тест
@eddyerburgh accept this PR please. |
friendly ping to @eddyerburgh |
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.
Thanks for the work guys :)
@Alex-Sokolov review this please.