Skip to content

Latest commit

 

History

History
 
 

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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