fix: Add coverage call and liquidity mining token test to scripts

This commit is contained in:
Lasse Herskind 2021-06-01 10:47:24 +02:00
parent 2a1ba6ab3d
commit f835701365
2 changed files with 6 additions and 0 deletions

View File

@ -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",

View File

@ -0,0 +1,3 @@
import { makeSuite } from './helpers/make-suite';
makeSuite('Empty run for coverage', () => {});