Skip to content

Commit

Permalink
chore(test): rename derived.utils to derived.test-utils (#3986)
Browse files Browse the repository at this point in the history
# Motivation

For consistency and avoid to use the utils in the dapp, rename
`derived.utils` to `derived.test-utils`.
  • Loading branch information
peterpeterparker authored Dec 16, 2024
1 parent 1c456fe commit f5bd040
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/frontend/src/tests/btc/stores/utxos-fee.store.spec.ts
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/tests/lib/stores/balances.store.spec.ts
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/tests/lib/stores/convert.store.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/tests/lib/stores/token.store.spec.ts
Original file line number Diff line number Diff line change
@@ -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(() => {
Expand Down

0 comments on commit f5bd040

Please sign in to comment.