Files
xahau.js/test/integration
Jackson Mills 9601e5b604 Add Ledger Method Integration Tests (#1640)
Add integration tests for ledger, ledgerEntry, ledgerData, ledgerClosed and ledgerCurrent, plus add them to the browser tests.
2021-09-24 09:38:52 -07:00
..
2021-09-22 16:39:10 -04:00

To run integration tests:

  1. 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
  1. Run npm test:integration or npm test:browser

When editing integration tests:

  • All imports should be from xrpl-local instead of ../../src (browser tests need this)