git.delta.rocks / unique-network / refs/commits / db9f499a6bf2

difftreelog

Merge pull request #20 from usetech-llc/feature/NFTPAR-95

usetech-llc2020-12-08parents: #3c48208 #8174da1.patch.diff
in: master

1 file changed

addedtests/READMEdiffbeforeafterboth
after · tests/README
1# Tests23## How to run451. Run `npm install`.62. Setup a test node. You can do it using `docker-compose up -d` in parent directory.73. Configure tests with env variables or by editing [configuration file](src/config.ts).84. Run `npm run test`.910## Don't run on the same node twice1112Some tests fail when ran on the same blockchain node twice. Either always use a new node or purge the existing one with `nft purge-chain --dev`. There is also [a script](../purge-running-node.sh) to purge and restart a node, started with docker-compose.