mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: Add coverage call and liquidity mining token test to scripts
This commit is contained in:
parent
00e7480c42
commit
f42b7590f4
|
@ -7,6 +7,9 @@
|
||||||
"artifacts"
|
"artifacts"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"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",
|
"run-env": "npm i && tail -f /dev/null",
|
||||||
"hardhat": "hardhat",
|
"hardhat": "hardhat",
|
||||||
"hardhat:kovan": "hardhat --network kovan",
|
"hardhat:kovan": "hardhat --network kovan",
|
||||||
|
|
3
test/emptyrun.coverage.ts
Normal file
3
test/emptyrun.coverage.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import { makeSuite } from './helpers/make-suite';
|
||||||
|
|
||||||
|
makeSuite('Empty run for coverage', () => {});
|
Loading…
Reference in New Issue
Block a user