From 83a0f922ebd23eb4e9b006dc9ae7f24576bc1e6c Mon Sep 17 00:00:00 2001 From: perekopskiy Date: Sat, 11 Jan 2025 14:22:28 +0200 Subject: [PATCH] fix check --- core/tests/ts-integration/tests/base-token.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/ts-integration/tests/base-token.test.ts b/core/tests/ts-integration/tests/base-token.test.ts index 3462790c2188..a22014751035 100644 --- a/core/tests/ts-integration/tests/base-token.test.ts +++ b/core/tests/ts-integration/tests/base-token.test.ts @@ -78,7 +78,7 @@ describe('base ERC20 contract checks', () => { // TODO: should all the following tests use strict equality? const finalEthBalance = await alice.getBalanceL1(); - expect(initialEthBalance).toBeGreaterThan(finalEthBalance + fee); // Fee should be taken from the ETH balance on L1. + expect(initialEthBalance).toBeGreaterThanOrEqual(finalEthBalance + fee); // Fee should be taken from the ETH balance on L1. const finalL1Balance = await alice.getBalanceL1(baseTokenDetails.l1Address); expect(initialL1Balance).toBeGreaterThanOrEqual(finalL1Balance + amount);