From 8320b1d39ea6402c32e907dbb35082efc6af9f5a Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 31 May 2022 19:40:23 +0200 Subject: chore: replace the toggle component --- src/components/molecules/forms/ackee-select.test.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/components/molecules/forms/ackee-select.test.tsx') diff --git a/src/components/molecules/forms/ackee-select.test.tsx b/src/components/molecules/forms/ackee-select.test.tsx index 0089c06..d255b00 100644 --- a/src/components/molecules/forms/ackee-select.test.tsx +++ b/src/components/molecules/forms/ackee-select.test.tsx @@ -1,16 +1,17 @@ import user from '@testing-library/user-event'; import { act, render, screen } from '@test-utils'; import AckeeSelect from './ackee-select'; +import { storageKey } from './ackee-select.fixture'; describe('Select', () => { it('should correctly set default option', () => { - render(); + render(); expect(screen.getByRole('combobox')).toHaveValue('full'); expect(screen.queryByRole('combobox')).not.toHaveValue('partial'); }); it('should correctly change value when user choose another option', async () => { - render(); + render(); await act(async () => { await user.selectOptions( -- cgit v1.2.3