diff --git a/multichain-testing/test/smart-wallet.test.ts b/multichain-testing/test/smart-wallet.test.ts index d3e18a5b86c..ceaea0aa555 100644 --- a/multichain-testing/test/smart-wallet.test.ts +++ b/multichain-testing/test/smart-wallet.test.ts @@ -5,18 +5,18 @@ import { commonSetup, SetupContextWithWallets } from './support.js'; const test = anyTest as TestFn; -test.before(async (t) => { +test.before(async t => { const { setupTestKeys, ...rest } = await commonSetup(t); const wallets = await setupTestKeys(); t.context = { ...rest, wallets }; }); -test.after(async (t) => { +test.after(async t => { const { deleteTestKeys } = t.context; await deleteTestKeys(); }); -test('provision smart wallet', async (t) => { +test('provision smart wallet', async t => { const { wallets, provisionSmartWallet, makeQueryTool, useChain } = t.context; const wallet = await provisionSmartWallet(wallets.user1, { BLD: 100n }); diff --git a/multichain-testing/test/support.ts b/multichain-testing/test/support.ts index 9db74b5d743..7735e4495fb 100644 --- a/multichain-testing/test/support.ts +++ b/multichain-testing/test/support.ts @@ -10,11 +10,7 @@ import { generateMnemonic } from '../tools/wallet.js'; const setupRegistry = makeSetupRegistry(makeGetConfigFile({ dirname, join })); const makeAgdTools = async (t: ExecutionContext) => { - const bundleCache = await makeNodeBundleCache( - 'bundles', - {}, - (s) => import(s), - ); + const bundleCache = await makeNodeBundleCache('bundles', {}, s => import(s)); const { writeFile } = ambientFsp; const { execFileSync, execFile } = ambientChildProcess; const tools = await makeE2ETools(t, bundleCache, { @@ -43,7 +39,7 @@ const makeKeyring = async ( }; const deleteTestKeys = () => - Promise.all(_keys.map((key) => e2eTools.deleteKey(key))); + Promise.all(_keys.map(key => e2eTools.deleteKey(key))); return { setupTestKeys, deleteTestKeys }; }; diff --git a/multichain-testing/test/tools/registry.test.ts b/multichain-testing/test/tools/registry.test.ts index 0e9d521cb55..68f350c7458 100644 --- a/multichain-testing/test/tools/registry.test.ts +++ b/multichain-testing/test/tools/registry.test.ts @@ -4,7 +4,7 @@ import { commonSetup } from '../support.js'; const test = anyTest as TestFn>; -test('assets can be retrieved from config', async (t) => { +test('assets can be retrieved from config', async t => { const { useChain } = await commonSetup(t); t.like(useChain('osmosis').chainInfo.nativeAssetList.assets, [ @@ -23,7 +23,7 @@ test('assets can be retrieved from config', async (t) => { ]); }); -test('staking info can be retrieved from config', async (t) => { +test('staking info can be retrieved from config', async t => { const { useChain } = await commonSetup(t); t.like(useChain('osmosis').chain.staking, { diff --git a/multichain-testing/test/tools/wallet.test.ts b/multichain-testing/test/tools/wallet.test.ts index 3d89b1f36ca..87955d6a8ba 100644 --- a/multichain-testing/test/tools/wallet.test.ts +++ b/multichain-testing/test/tools/wallet.test.ts @@ -7,7 +7,7 @@ import { commonSetup } from '../support.js'; const test = anyTest as TestFn>; -test('create a wallet and get tokens', async (t) => { +test('create a wallet and get tokens', async t => { const { useChain } = await commonSetup(t); const prefix = useChain('osmosis').chain.bech32_prefix; diff --git a/multichain-testing/tools/sleep.ts b/multichain-testing/tools/sleep.ts index a38fdaa84cc..1b4309121d6 100644 --- a/multichain-testing/tools/sleep.ts +++ b/multichain-testing/tools/sleep.ts @@ -1,7 +1,7 @@ import type { LogFn } from 'ava'; export const sleep = (ms: number, log?: LogFn) => - new Promise((resolve) => { + new Promise(resolve => { if (log) log(`Sleeping for ${ms}ms...`); setTimeout(resolve, ms); });