Project Details
Jest is used by Facebook to test all JavaScript code including React applications. One of Jest's philosophies is to provide an integrated "zero-configuration" experience. We observed that when engineers are provided with ready-to-use tools, they end up writing more tests, which in turn results in more stable and healthy code bases.
Jest parallelizes test runs across workers to maximize performance. Console messages are buffered and printed together with test results. Sandboxed test files and automatic global state resets for every test so no two tests conflict with each other.
Source
Source Language
English
Number of Words
I translate a total of 1218 words.
Translated Language
I contribute to Indonesian Language and translated the file 'docs/en/GlobalAPI.md', 'TutorialjQuery.md', and 'docs/en/MigrationGuide.md'. The project is huge, it still needs 44517 words to translate.
Before Translation
- docs/en/GlobalAPI.md from 44%
- TutorialjQuery.md from 27%
- docs/en/MigrationGuide.md from 52%
After Translation
- docs/en/GlobalAPI.md to 84%
docs/en/GlobalAPI.md : https://crowdin.com/translate/jest/246/en-id - TutorialjQuery.md to 35%
TutorialjQuery.md : https://crowdin.com/translate/jest/839/en-id - docs/en/MigrationGuide.md to 69%
docs/en/MigrationGuide.md : https://crowdin.com/translate/jest/249/en-id
Links
Check my Activity in Jest
My Profile Activity as Translator
Project Profile Link
GitHub Project Link
Crowdin Indonesian Translation
Part1, Part2, Part3, Part4, Part5
Examples
Runs a function after each one of the tests in this file completes. If the function returns a promise, Jest waits for that promise to resolve before continuing.
Jalankan sebuah fungsi setelah setiap salah satu percobaan didalam berkas ini selesai. Jika fungsi tersebut mengembalikan sebuah promise, Jest menunggu promise tersebut untuk memecahkannya sebelum melanjutkan.
For example, let's say fetchBeverageList()
returns a promise that is supposed to resolve to a list that has lemon
in it. You can test this with:
Sebagai contoh, katakanlah
ambilkanDaftarMinuman()
mengembalikan sebuah promise yang seharusnya memecahkan sebuah daftar yang memilikilemon
didalamnya. Anda bisa mencobanya dengan:
This ensures that our
test can complete in milliseconds rather than seconds and guarantees a fast unit
test iteration speed.
Hal ini memastikan bahwa percobaan kami bisa diselesaikan dalam milidetik daripada detik dan menjamin kecepatan pengulangan satuan percobaan yang cepat.
Jika anda menggunakan AVA, Expect.js (oleh Automattic), Jasmine, Mocha, proxyquire, Should.js atau Tape anda bisa secara otomatis memindahkannya dengan mod kode Jest (lihat dibawah ini).
Jika anda menggunakan AVA, Expect.js (oleh Automattic), Jasmine, Mocha, proxyquire, Should.js atau Tape anda bisa secara otomatis memindahkannya dengan mod kode Jest (lihat dibawah ini).
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Hey @walterz I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x