chatch / stellarexplorer

Ledger Explorer for the Stellar Network 🚀
https://steexp.com
Apache License 2.0
435 stars 930 forks source link

Setup jest #550

Closed jp-ryuji closed 7 months ago

jp-ryuji commented 7 months ago

I wanted to write some test code when working on https://github.com/chatch/stellarexplorer/issues/540 . So I set up jest as an independent PR.

The format of package.json was automatically fixed when I executed npx jest --init.


I also fixed one test, networks.test.ts (I converted networks.test.js to ts), to make sure npm test works as expected.

jp-ryuji commented 7 months ago

ok so this PR is just for setup but not fixing all tests yet right? still failures but they'll be fixed on a later PR?

Right.

aminghorbani1986 commented 7 months ago

Yes

در تاریخ پنجشنبه ۲۳ نوامبر ۲۰۲۳،‏ ۱۹:۲۱ Ryuji EGUCHI < @.***> نوشت:

Merged #550 https://github.com/chatch/stellarexplorer/pull/550 into master.

— Reply to this email directly, view it on GitHub https://github.com/chatch/stellarexplorer/pull/550#event-11049198658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXE2TNWKUA6BY7V2AUN62MLYF5WGPAVCNFSM6AAAAAA7XIJ6AKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGA2DSMJZHA3DKOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>