Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
claireolmstead committed Mar 6, 2024
1 parent 555d846 commit 8e7eeb1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/unit-and-integration/provider.test.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 8e7eeb1

Please sign in to comment.