Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: tomg10 <[email protected]>
  • Loading branch information
tomg10 committed Sep 10, 2024
1 parent 9ba13c6 commit 61ee7a4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions core/tests/ts-integration/src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ async function loadTestEnvironmentFromFile(chain: string): Promise<TestEnvironme
baseToken = token;
}
}
if (token.symbol == baseToken?.symbol) {
throw new Error(token.symbol);
}
// `waitForServer` is expected to be executed. Otherwise this call may throw.

const l2TokenAddress = await new zksync.Wallet(
Expand Down
1 change: 0 additions & 1 deletion core/tests/ts-integration/src/test-master.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export class TestMaster {
throw new Error(`Received invalid test suite path: ${file}`);
}
const suiteName = file.substring(markerPos + marker.length);
this.reporter.debug(`SUITE NAME: ${suiteName}`);

const suiteWalletPK = context.wallets[suiteName];
if (!suiteWalletPK) {
Expand Down
2 changes: 1 addition & 1 deletion core/tests/ts-integration/tests/erc20.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ describe('ERC20 contract checks', () => {
const l2Fee = depositFee.baseCost;
const aliceBalance = await alice.getBalanceL1();
if (aliceBalance < l1Fee + l2Fee) {
throw new Error('Not enough balance to pay the fee!');
throw new Error('Not enough balance to pay the fee');
}

// deposit handle with the precalculated max amount
Expand Down

0 comments on commit 61ee7a4

Please sign in to comment.