Files
xahau.js/packages/xrpl/test/integration
Mayukha Vadari 00f1a6bcdd feat: add feature RPC (#2719)
* add feature RPC

* export, add tests

* update history

* fix test

* update models

* update feature models to correctly handle both cases

* fix models/tests

* fix test, improve type

* undo type change

* fix test
2024-07-10 13:18:16 -04:00
..
2024-07-10 13:18:16 -04:00

To run integration tests:

  1. Run rippled in standalone node, either in a docker container (preferred) or by installing rippled.
  • Go to the top-level of the xrpl.js repo, just above the packages folder.
  • With docker, run docker run -p 6006:6006 --interactive -t --volume $PWD/.ci-config:/opt/ripple/etc/ --platform linux/amd64 rippleci/rippled:2.2.0-b3 /opt/ripple/bin/rippled -a --conf /opt/ripple/etc/rippled.cfg
  • Or download and build rippled and run ./rippled -a --start
    • If you'd like to use the latest rippled amendments, you should modify your rippled.cfg file to enable amendments in the [amendments] section. You can view .ci-config/rippled.cfg in the top level folder as an example of this.
  1. Run npm run test:integration or npm run test:browser