Provides LaborX sidechain smart contracts
We use several techniques to speed up test running:
- produce minified version of artifacts during compilation (--minify flag for 'linkExternalContractArtifacts' function)
- use empty contracts_directory (for example, './src' for simplicity) to avoid double compilation and artifacts' overwriting
``bash`
yarn contracts:compile
`bash`
yarn build
`bash`
yarn ganache
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
`bash`
yarn test:ci
#### Dev
Requires manually running ganache instance in a background
`bash``
yarn test:dev