Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 535 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 535 Bytes

How to test

  1. Start a local node
git clone https://github.com/paritytech/substrate-contracts-node --tag v0.23.0
cd ./substrate-contracts-node
cargo +stable build --release
./target/release/substrate-contracts-node --dev --tmp
  1. Run tests
npm run test

Note, run the command 2 in project' root directory

Alternative way to run tests

  1. Start a local node as described above

  2. Generate typechain-code for the contracts

npm run gen-test-ts
  1. Run tests
npm run only-test