diff --git a/package.json b/package.json index a0c2ef25..79368268 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,9 @@ "artifacts" ], "scripts": { + "test:main:lmtoken": "MAINNET_FORK=true TS_NODE_TRANSPILE_ONLY=1 hardhat test test/mainnet/static-atoken-lm/*.spec.ts", + "coverage:lmtoken": "npm run compile && npx hardhat coverage --testfiles 'test/emptyrun.coverage.ts' && rm -rf coverage.json coverage/ && MAINNET_FORK=true TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --testfiles 'test/mainnet/static-atoken-lm/*.ts'", + "test:main:attack": "MAINNET_FORK=true TS_NODE_TRANSPILE_ONLY=1 hardhat test test/mainnet/vamtoken-attack.spec.ts", "run-env": "npm i && tail -f /dev/null", "hardhat": "hardhat", "hardhat:kovan": "hardhat --network kovan", diff --git a/test/emptyrun.coverage.ts b/test/emptyrun.coverage.ts new file mode 100644 index 00000000..d8d8a979 --- /dev/null +++ b/test/emptyrun.coverage.ts @@ -0,0 +1,3 @@ +import { makeSuite } from './helpers/make-suite'; + +makeSuite('Empty run for coverage', () => {});