mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-04-29 15:37:50 +00:00
Add integration tests for ledger, ledgerEntry, ledgerData, ledgerClosed and ledgerCurrent, plus add them to the browser tests.
To run integration tests:
- Run rippled-standalone node, either in a docker container (preferred) or by installing rippled.
- With docker, run
docker run -p 6006:6006 -it natenichols/rippled-standalone:latest - Or download and build rippled and run
./rippled -a
- Run
npm test:integrationornpm test:browser
When editing integration tests:
- All imports should be from
xrpl-localinstead of../../src(browser tests need this)