From 8e7eeb1556223ca099cfb9135f6c0f02faef3ff8 Mon Sep 17 00:00:00 2001 From: Claire Olmstead Date: Wed, 6 Mar 2024 12:41:46 -0800 Subject: [PATCH] fix test --- test/unit-and-integration/provider.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/unit-and-integration/provider.test.ts b/test/unit-and-integration/provider.test.ts index 7a55f55d..30a8df17 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());