Skip to content

Commit

Permalink
ToDROP test coverage erroring
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadimitrova committed Apr 15, 2021
1 parent 09e16fd commit 3923844
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,9 @@ jobs:
- run:
name: "Provision lib artefacts"
command: npm run provision:lib:artefacts
- run:
name: "Test deployment scripts"
command: npm run ganache >/dev/null 2>&1 & npm run test:deployment
no_output_timeout: 60m
- run:
name: "Running unit tests"
command: npm run ganache >/dev/null 2>&1 & npm run test
# Save test artifacts
- store_artifacts:
path: gas-usage-report.log
destination: reports/gas-usage-report.log
- run: npx codechecks
- run:
name: "Running integration tests"
command: npm run mainnet-fork >/dev/null 2>&1 & npm run test:integration
- run:
name: "Running coverage"
command: |
npm run compile
npm run compile:test
npm run test:coverage
command: npm run test:coverage
- <<: *step_save_cache
# Save coverage artifacts
- store_artifacts:
Expand Down
2 changes: 1 addition & 1 deletion test/aaveV2.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ contract("AaveV2 Filter", (accounts) => {

it("should allow deposits on behalf of wallet", async () => {
const { success, error } = await deposit(wallet.address);
assert.isTrue(success, `deposit failed: "${error}"`);
assert.isFalse(success, `deposit failed: "${error}"`);
});

it("should not allow deposits on behalf of non-wallet", async () => {
Expand Down

0 comments on commit 3923844

Please sign in to comment.