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


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 menjadwalkan setTimeout() 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

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now