Skip to content

Commit

Permalink
clear the logs when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
shekohex committed May 11, 2023
1 parent bab48b9 commit 4908f16
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/test/evm/evmToSubstrateTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import { VAnchor } from '@webb-tools/anchors';
import { MintableToken } from '@webb-tools/tokens';
const { ecdsaSign } = pkg;

describe('Cross chain transaction <<>> Mocked Backend', function () {
describe('Cross chain transaction <<>> Mocked Backend', function() {
const tmpDirPath = temp.mkdirSync();
let localChain1: LocalChain;
let aliceNode: LocalTangle;
Expand All @@ -94,11 +94,11 @@ describe('Cross chain transaction <<>> Mocked Backend', function () {
const usageMode: UsageMode = isCi
? { mode: 'docker', forcePullImage: false }
: {
mode: 'host',
nodePath: path.resolve(
'../../tangle/target/release/tangle-standalone'
),
};
mode: 'host',
nodePath: path.resolve(
'../../tangle/target/release/tangle-standalone'
),
};
const enabledPallets: Pallet[] = [
{
pallet: 'VAnchorBn254',
Expand Down Expand Up @@ -337,6 +337,7 @@ describe('Cross chain transaction <<>> Mocked Backend', function () {
typedTargetChainId,
0
);
webbRelayer.clearLogs();
// substrate vanchor withdraw
await vanchorWithdraw(
vanchor1,
Expand Down

0 comments on commit 4908f16

Please sign in to comment.