Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
solidity-coverage/scripts/unit.sh

15 lines
317 B

#!/usr/bin/env bash
# Toggles optimizer on/off
VIAR_IR=$VIA_IR
node --max-old-space-size=4096 \
./node_modules/.bin/nyc \
--exclude '**/sc_temp/**' \
--exclude '**/test/**/' \
-- \
mocha test/units/* \
--require "test/util/mochaRootHook.js" \
--timeout 100000 \
--no-warnings \
--exit