mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: coverage 0 report
This commit is contained in:
parent
9af634fbcd
commit
60d3057aa2
|
@ -24,7 +24,7 @@
|
|||
"test-scenarios": "npm run compile && npx hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/scenario.spec.ts",
|
||||
"test-subgraph:scenarios": "npm run compile && hardhat --network hardhatevm_docker test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/subgraph-scenarios.spec.ts",
|
||||
"test:main:check-list": "npm run compile && FORK=main TS_NODE_TRANSPILE_ONLY=1 hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/mainnet/check-list.spec.ts",
|
||||
"coverage": "npm run compile && npx hardhat coverage --testfiles 'test-suites/test-aave/*.ts'",
|
||||
"coverage": "npm run compile && npx hardhat coverage --testfiles test-suites/test-aave/emptyrun.coverage.ts && rm -rf coverage.json coverage/ && npx hardhat coverage --testfiles 'test-suites/test-aave/*.spec.ts'",
|
||||
"aave:evm:dev:migration": "npm run compile && hardhat aave:dev",
|
||||
"aave:docker:full:migration": "npm run compile && npm run hardhat:docker -- aave:mainnet --skip-registry",
|
||||
"aave:kovan:full:migration": "npm run compile && npm run hardhat:kovan -- aave:mainnet --skip-registry",
|
||||
|
|
5
test-suites/test-aave/emptyrun.coverage.ts
Normal file
5
test-suites/test-aave/emptyrun.coverage.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { makeSuite } from './helpers/make-suite';
|
||||
|
||||
/* Workaround to fix 0 coverage report issue */
|
||||
|
||||
makeSuite('Empty run for coverage', () => {});
|
Loading…
Reference in New Issue
Block a user