diff --git a/test/unit-and-integration/provider.test.ts b/test/unit-and-integration/provider.test.ts index 7a55f55..30a8df1 100644 --- a/test/unit-and-integration/provider.test.ts +++ b/test/unit-and-integration/provider.test.ts @@ -1,9 +1,8 @@ import { cleanup, render } from '@testing-library/svelte'; import '@testing-library/jest-dom'; -import { dotApi, storeCurrentAction, storeChainInfo } from '../../src/lib/stores'; +import { dotApi, storeChainInfo } from '../../src/lib/stores'; import { user } from '../../src/lib/stores/userStore'; import Provider from '$components/Provider.svelte'; -import { ActionForms } from '../../src/lib/storeTypes'; import { getByTextContent } from '../helpers'; import { KeyringPair } from '@polkadot/keyring/types'; import Keyring from '@polkadot/keyring'; @@ -79,7 +78,6 @@ vi.mock('@polkadot/api', async () => { describe('Provider.svelte', () => { beforeEach(() => { - storeCurrentAction.set(ActionForms.NoForm); user.set({ address: '', isProvider: false, msaId: 0, providerName: '' }); }); afterEach(() => cleanup());