From f5bd040de30c82f5755dc25c2ebd4f2cb927f942 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Mon, 16 Dec 2024 14:36:30 +0100 Subject: [PATCH] chore(test): rename derived.utils to derived.test-utils (#3986) # Motivation For consistency and avoid to use the utils in the dapp, rename `derived.utils` to `derived.test-utils`. --- src/frontend/src/tests/btc/stores/utxos-fee.store.spec.ts | 2 +- src/frontend/src/tests/lib/stores/balances.store.spec.ts | 2 +- src/frontend/src/tests/lib/stores/convert.store.spec.ts | 2 +- src/frontend/src/tests/lib/stores/token.store.spec.ts | 2 +- .../src/tests/utils/{derived.utils.ts => derived.test-utils.ts} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename src/frontend/src/tests/utils/{derived.utils.ts => derived.test-utils.ts} (100%) diff --git a/src/frontend/src/tests/btc/stores/utxos-fee.store.spec.ts b/src/frontend/src/tests/btc/stores/utxos-fee.store.spec.ts index 6fb46f36a4..4fc7ba4c71 100644 --- a/src/frontend/src/tests/btc/stores/utxos-fee.store.spec.ts +++ b/src/frontend/src/tests/btc/stores/utxos-fee.store.spec.ts @@ -1,7 +1,7 @@ import { initUtxosFeeStore } from '$btc/stores/utxos-fee.store'; import { mockUtxosFee } from '$tests/mocks/btc.mock'; import { mockPage } from '$tests/mocks/page.store.mock'; -import { testDerivedUpdates } from '$tests/utils/derived.utils'; +import { testDerivedUpdates } from '$tests/utils/derived.test-utils'; import { get } from 'svelte/store'; describe('utxosFeeStore', () => { diff --git a/src/frontend/src/tests/lib/stores/balances.store.spec.ts b/src/frontend/src/tests/lib/stores/balances.store.spec.ts index 456a8715e4..015a8e7afa 100644 --- a/src/frontend/src/tests/lib/stores/balances.store.spec.ts +++ b/src/frontend/src/tests/lib/stores/balances.store.spec.ts @@ -1,7 +1,7 @@ import { ICP_TOKEN } from '$env/tokens/tokens.icp.env'; import { balancesStore } from '$lib/stores/balances.store'; import { mockPage } from '$tests/mocks/page.store.mock'; -import { testDerivedUpdates } from '$tests/utils/derived.utils'; +import { testDerivedUpdates } from '$tests/utils/derived.test-utils'; import { BigNumber } from 'alchemy-sdk'; describe('balancesStore', () => { diff --git a/src/frontend/src/tests/lib/stores/convert.store.spec.ts b/src/frontend/src/tests/lib/stores/convert.store.spec.ts index 1406cae034..6ff8c58c7b 100644 --- a/src/frontend/src/tests/lib/stores/convert.store.spec.ts +++ b/src/frontend/src/tests/lib/stores/convert.store.spec.ts @@ -4,7 +4,7 @@ import * as exchanges from '$lib/derived/exchange.derived'; import { balancesStore } from '$lib/stores/balances.store'; import { initConvertContext } from '$lib/stores/convert.store'; import { mockPage } from '$tests/mocks/page.store.mock'; -import { testDerivedUpdates } from '$tests/utils/derived.utils'; +import { testDerivedUpdates } from '$tests/utils/derived.test-utils'; import { BigNumber } from 'alchemy-sdk'; import { get, readable } from 'svelte/store'; diff --git a/src/frontend/src/tests/lib/stores/token.store.spec.ts b/src/frontend/src/tests/lib/stores/token.store.spec.ts index 958211378a..8400611c6f 100644 --- a/src/frontend/src/tests/lib/stores/token.store.spec.ts +++ b/src/frontend/src/tests/lib/stores/token.store.spec.ts @@ -1,7 +1,7 @@ import { ICP_TOKEN } from '$env/tokens/tokens.icp.env'; import { token } from '$lib/stores/token.store'; import { mockPage } from '$tests/mocks/page.store.mock'; -import { testDerivedUpdates } from '$tests/utils/derived.utils'; +import { testDerivedUpdates } from '$tests/utils/derived.test-utils'; describe('token store', () => { beforeEach(() => { diff --git a/src/frontend/src/tests/utils/derived.utils.ts b/src/frontend/src/tests/utils/derived.test-utils.ts similarity index 100% rename from src/frontend/src/tests/utils/derived.utils.ts rename to src/frontend/src/tests/utils/derived.test-utils.ts