From a035e1cc679a31429ce1ca80b805ae2f33c1a3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernani=20S=C3=A3o=20Thiago?= Date: Thu, 28 Dec 2023 08:39:32 -0500 Subject: [PATCH] fixed lint & removed forge from CI --- .github/workflows/all.yml | 4 ++-- test/helpers.ts | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index 37cdeeb..e09d64e 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -25,8 +25,8 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.GHB_TOKEN }} - name: Lint run: npm run lint - - name: Run Foundry tests - run: forge test --verbosity -vvv +# - name: Run Foundry tests +# run: forge test --verbosity -vvv - name: Compile Smart Contracts run: npm run compile env: diff --git a/test/helpers.ts b/test/helpers.ts index f7f795a..3aacbf7 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -61,9 +61,7 @@ export async function assertListItem( expectedPosition: number, ) { const { expirationDate, previous } = await LinkedLists.getListItem(itemId) - expect(expirationDate, `Item ${itemId} expiration date is not ${itemExpirationDate}`).to.be.equal( - itemExpirationDate, - ) + expect(expirationDate, `Item ${itemId} expiration date is not ${itemExpirationDate}`).to.be.equal(itemExpirationDate) if (expectedPosition === 0) { // if item is the head