Translating 1270 words of Jest English to Indonesian Part 7
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 1270 words.
Translated Language
I contribute to Indonesian Language and translated the file 'docs/en/JestObjectAPI.md', 'TimerMocks.md', and 'docs/en/SetupAndTeardown.md'. The project is huge, it still needs 44658 words to translate.
Before Translation
- docs/en/JestObjectAPI.md from 44%
- TimerMocks.md from 37%
- docs/en/SetupAndTeardown.md from 44%
After Translation
- docs/en/JestObjectAPI.md to 81%
docs/en/JestObjectAPI.md : https://crowdin.com/translate/jest/247/en-id - TimerMocks.md to 44%
TimerMocks.md : https://crowdin.com/translate/jest/850/en-id - docs/en/SetupAndTeardown.md to 78%
docs/en/SetupAndTeardown.md : https://crowdin.com/translate/jest/253/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, Part6
Examples
Warning: Importing a module in a setup file (as specified by setupTestFrameworkScriptFile
) will prevent mocking for the module in question, as well as all the modules that it imports.
Peringatan: Mengimpor sebuah modul didalam sebuah susunan berkas (yang ditentukan oleh
setupTestFrameworkScriptFile
) akan mencegah untuk me-mock modul yang dimaksud, maupun semua modul yang diimpornya.
This is useful for scenarios such as one where the module being tested schedules a setTimeout()
whose callback schedules another setTimeout()
recursively (meaning the scheduling never stops).
Hal ini berguna untuk skenario seperti salah satu dimana modul diuji untuk menjadwalkan
setTimeout()
yang panggilan ulangnya menjadwalkansetTimeout()
yang lain secara berulang (yang berarti penjadwalan tidak pernah berhenti).
Additionally if those
macro-tasks schedule new macro-tasks that would be executed within the same time
frame, those will be executed until there are no more macro-tasks remaining in
the queue that should be run within msToRun milliseconds.
Sebagai tambahan jika tugas-makro tersebut menjadwalkan tugas-makro baru yang akan dijalankan pada jangka waktu yang sama, yang itu akan dijalankan sampai tidak ada lagi tugas-makro yang tersisa didalam antrian yang harus dijalankan dalam msToRun milidetik.
For example, if initializeCityDatabase()
returned a promise that resolved when the database was initialized, we would want to return that promise:
Sebagai contoh, jika
initializeCityDatabase()
mengembalikan sebuah promise yang dipecahkan ketika basis data ditetapkan, kami ingin untuk mengembalikan promise tersebut:
Posted on Utopian.io - Rewarding Open Source Contributors
good work, greetings!
I enjoyed this article thanks
excelente posts campeon
Amazing post, just followed, Follow me back and upvote my posts as well. Hope we can be good friends.
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