Skip to content

Latest commit

 

History

History

tests

End-to-end tests

These tests are implemented in NodeJS and can be executed either using the Speculos emulator or a Ledger Nano S+/X. NodeJS dependencies are listed in package.json, install them using npm or yarn.

npm install

Launch with Speculos

First start your application with Speculos

./path/to/speculos.py /path/to/bin/app.elf --apdu-port 9999 --api-port 40000

then run

npm run test

Launch with your Nano S+/X

Be sure to have you device connected through USB (without any other software interacting with it) and run

LEDGER_LIVE_HARDWARE=1 npm run test