Skip to content

Commit 5fdcf86

Browse files
authored
Merge pull request #16 from aave/feat/emode-tests
chore: re-enable tests run but not blocking if fails
2 parents 2445e95 + 0d44727 commit 5fdcf86

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/verify.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ jobs:
2121
- name: Build
2222
uses: ./.github/actions/setup
2323

24-
# test:
25-
# name: Test
26-
# needs: lint
27-
# runs-on: ubuntu-latest
28-
29-
# steps:
30-
# - uses: actions/checkout@v4
31-
32-
# - name: Run Tests
33-
# uses: ./.github/actions/tests
34-
# with:
35-
# environment: 'staging'
36-
# private_key: ${{ secrets.PRIVATE_KEY }}
24+
test:
25+
name: Test
26+
needs: lint
27+
runs-on: ubuntu-latest
28+
continue-on-error: true
29+
30+
steps:
31+
- uses: actions/checkout@v4
32+
33+
- name: Run Tests
34+
uses: ./.github/actions/tests
35+
with:
36+
environment: 'staging'
37+
private_key: ${{ secrets.PRIVATE_KEY }}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"test:react": "vitest --project react",
2525
"test:borrow": "vitest --project client packages/client/src/actions/borrow.test.ts",
2626
"test:vaultDeploy": "vitest --project client packages/client/src/actions/vaultDeploy.test.ts",
27-
"test:856": "vitest --project client packages/client/src/actions/eMode.test.ts -t 'Then they should be able to disable it at any time'",
2827
"test:857": "vitest --project client packages/client/src/actions/eMode.test.ts -t \"Then the market's reserves should have user state that reflects the selected E-Mode category settings\"",
2928
"test:858": "vitest --project client packages/client/src/actions/eMode.test.ts -t \"Then any user supply position that are not included in the E-Mode category should not be able to be used as collateral\"",
3029
"test:withdraw": "vitest --project client packages/client/src/actions/withdraw.test.ts",

packages/client/src/actions/eMode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe('Given an Aave Market', () => {
9494
assertOk(result);
9595

9696
expect(result.value).toMatchObject({
97-
eModeEnabled: true,
97+
eModeEnabled: false,
9898
});
9999
});
100100
});

0 commit comments

Comments
 (0)