Translating 1091 words of Jest English to Indonesian Part 2

in #utopian-io7 years ago (edited)

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 1091 words.

Translated Language

I contribute to Indonesian Language and translated the file 'docs/en/ExpectAPI.md'. The project is huge, it still needs 44474 words to translate.

Before Translation


  • docs/en/ExpectAPI.md from 0%

After Translation


Proofread Words

Currenly waiting for my translation to be proofread.

Links

Check my Activity in Jest
My Profile Activity as Translator
Project Profile Link
GitHub Project Link
Crowdin Indonesian Translation

Part1

Examples

In this case, toBe is the matcher function. There are a lot of different matcher functions, documented below, to help you test different things.

Dalam kasus ini, toBe adalah sebagai fungsi matcher. Ada banyak fungsi matcher yang berbeda, didokumentasikan dibawah ini, untuk membantu anda mencoba hal-hal yang berbeda.

The argument to expect should be the value that your code produces, and any argument to the matcher should be the correct value.

Argumentasi dalam expect seharusnya tentang nilai yang diproduksi oleh kode anda, dan argumentasi apapun pada matcher seharusnya dalam nilai yang benar.

For example, let's say that you're testing a number theory library and you're frequently asserting that numbers are divisible by other numbers.

Sebagai contoh, katakanlah bahwa anda mencoba pustaka number theory dan anda sering menyatakan bahwa angka dapat dibagi dengan angka lainnya.

For example, let's say that we have a function doAsync that receives two callbacks callback1 and callback2, it will asynchronously call both of them in an unknown order.

Sebagai contoh, katakanlah bahwa kita mempunyai sebuah fungsi lakukan Async yang menerima dua panggilan ulang panggilan ulang1 dan panggilan ulang2, hal itu akan dengan tidak langsung memanggil keduanya didalam sebuah perintah yang tidak diketahui.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

good writing I like. expand the work again, and more articles. hopefully a little science that you provide useful to the reader
do not forget to follow me @amirdesaingrafis

Your contribution cannot be approved because it does not follow the Utopian Rules.

Your translation has lots of code and links so it does not reach 1000 words, code and links are not counted in translation, next time you should see new rules in utopian before contributing

You can contact us on Discord.
[utopian-moderator]

Can I edit it and add more string? Because I don't count it manually so I don't know that it doesnt reach 1000 words if the code and links have taken.

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.029
BTC 66552.34
ETH 3451.80
USDT 1.00
SBD 2.65