diff --git a/e2e-tests/balance.ts b/e2e-tests/balance.ts index 1762eafd..2705f24d 100644 --- a/e2e-tests/balance.ts +++ b/e2e-tests/balance.ts @@ -13,7 +13,7 @@ export const balanceTracker = async ( test: string, address: string, assetIds: string[], - balance?: IBalance + balance?: IBalance, ): Promise => { let balances: IBalance = { initial: [], final: [] }; let accountInfo: FrameSystemAccountInfo | Option; diff --git a/e2e-tests/executor.ts b/e2e-tests/executor.ts index 5e78673a..a58356a5 100644 --- a/e2e-tests/executor.ts +++ b/e2e-tests/executor.ts @@ -131,7 +131,7 @@ const executor = async (testCase: string) => { testCase, destAddr, assetIds, - destInitialBalance + destInitialBalance, ); const correctlyReceived = verification(assetIds, amounts, destFinalBalance); @@ -151,4 +151,6 @@ const executor = async (testCase: string) => { } }; -executor(process.argv[2]).finally(() => process.exit()); +executor(process.argv[2]) + .catch((err) => console.error(err)) + .finally(() => process.exit()); diff --git a/e2e-tests/tests/assets.ts b/e2e-tests/tests/assets.ts index 7f2298ff..36614b0a 100644 --- a/e2e-tests/tests/assets.ts +++ b/e2e-tests/tests/assets.ts @@ -20,7 +20,7 @@ const createLocalSystemAssetsTransferTransaction = async ( opts: object, api: ApiPromise, specName: string, - safeXcmVersion: number + safeXcmVersion: number, ) => { const assetApi = createAssetApi(api, specName, safeXcmVersion); @@ -43,7 +43,7 @@ const createPayFeesTransaction = async ( opts: object, api: ApiPromise, specName: string, - safeXcmVersion: number + safeXcmVersion: number, ) => { const assetApi = createAssetApi(api, specName, safeXcmVersion); diff --git a/e2e-tests/tests/foreignAssets.ts b/e2e-tests/tests/foreignAssets.ts index cf2783f8..7663c841 100644 --- a/e2e-tests/tests/foreignAssets.ts +++ b/e2e-tests/tests/foreignAssets.ts @@ -20,7 +20,7 @@ const createTransferTransaction = async ( opts: object, api: ApiPromise, specName: string, - safeXcmVersion: number + safeXcmVersion: number, ) => { const assetApi = createAssetApi(api, specName, safeXcmVersion); diff --git a/e2e-tests/tests/liquidPools.ts b/e2e-tests/tests/liquidPools.ts index d4c71703..39ade811 100644 --- a/e2e-tests/tests/liquidPools.ts +++ b/e2e-tests/tests/liquidPools.ts @@ -20,7 +20,7 @@ const createLocalTransferTransaction = async ( opts: object, api: ApiPromise, specName: string, - safeXcmVersion: number + safeXcmVersion: number, ) => { const assetApi = createAssetApi(api, specName, safeXcmVersion); @@ -43,7 +43,7 @@ const createPayFeesTransaction = async ( opts: object, api: ApiPromise, specName: string, - safeXcmVersion: number + safeXcmVersion: number, ) => { const assetApi = createAssetApi(api, specName, safeXcmVersion); diff --git a/e2e-tests/tests/local.ts b/e2e-tests/tests/local.ts index 86c557a0..12d1ecd3 100644 --- a/e2e-tests/tests/local.ts +++ b/e2e-tests/tests/local.ts @@ -21,7 +21,7 @@ const createSystemLocalTransferTransaction = async ( opts: object, api: ApiPromise, specName: string, - safeXcmVersion: number + safeXcmVersion: number, ) => { const assetApi = createAssetApi(api, specName, safeXcmVersion); @@ -44,7 +44,7 @@ const createRelayLocalTransferTransaction = async ( opts: object, api: ApiPromise, specName: string, - safeXcmVersion: number + safeXcmVersion: number, ) => { const assetApi = createAssetApi(api, specName, safeXcmVersion); @@ -67,7 +67,7 @@ const createRelayToSystemTransferTransaction = async ( opts: object, api: ApiPromise, specName: string, - safeXcmVersion: number + safeXcmVersion: number, ) => { const assetApi = createAssetApi(api, specName, safeXcmVersion); diff --git a/e2e-tests/verification.ts b/e2e-tests/verification.ts index f1e6a6b3..2e1470e1 100644 --- a/e2e-tests/verification.ts +++ b/e2e-tests/verification.ts @@ -1,5 +1,5 @@ // Copyright 2023 Parity Technologies (UK) Ltd. -import { IBalance } from 'balance'; +import { IBalance } from './balance'; export const verification = (assetIds: string[], amounts: string[], destBalance: IBalance) => { const destInitialBalance: [string, number][] = destBalance.initial;