0.1.1 • Published 6 years ago
@laborx/token-bridge-sidechain-sc v0.1.1
LaborX Token Bridge (sidechain) Smart Contracts
Install
We use several techniques to speed up test running:
- produce minified version of artifacts during compilation (
--minifyflag for 'linkExternalContractArtifacts' function) - use empty
contracts_directory(for example, './src' for simplicity) to avoid double compilation and artifacts' overwriting
Compile smart contracts
yarn contracts:compileBuild
yarn buildGanache
yarn ganacheTest
Separate test files could be provided to run only focused tests: --testFile ./test/test1.ts --testFile ./test/test2.ts.
CI
Uses independent self-running ganache instance during test cycle
yarn test:ciDev
Requires manually running ganache instance in a background
yarn test:dev0.1.1
6 years ago