@ddn/test
v2.4.5
Published
Test based on jest.
Downloads
3
Readme
DDN Test
Test based on jest.
Use
// In the project root path
$ cd ddn/
$ yarn test
For test files named a.test.js
in the all packages,
$ yarn test a.test.js
For debug ,etc:
$ DEBUG=debug_name yarn test nodeSdk.aob.test.js // debug_name -> debug('debug_name') in the test files。
Warning
- If the genesis block is regenerated, you need to change the relevant account in Src / account utils / accounts.ddn.js, otherwise some tests fail.
- Some constants and configuration options are modified as appropriate, such as transaction fee, etc.
- You need to start the test node before running the test.