mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
Co-authored-by: Chenna Keshava B S <21219765+ckeshava@users.noreply.github.com> Co-authored-by: Denis Angell <dangell@transia.co>
To run integration tests:
- Run rippled in standalone node, either in a docker container (preferred) or by installing rippled.
- Go to the top-level of the
xahau.jsrepo, just above thepackagesfolder. - 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.cfgfile to enable amendments in the[amendments]section. You can view.ci-config/rippled.cfgin the top level folder as an example of this.
- If you'd like to use the latest rippled amendments, you should modify your
- Run
npm run test:integrationornpm run test:browser