Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { render, screen, waitForElementToBeRemoved } from '@testing-library/reac
import userEvent from '@testing-library/user-event';
import { SimpleSelect } from '../SimpleSelect';

test('renders checkbox select with options', async () => {
test('renders simple select with options', async () => {
const initialOptions = [
{ content: 'Option 1', value: 'option1' },
{ content: 'Option 2', value: 'option2' },
Expand Down Expand Up @@ -232,8 +232,6 @@ test('Matches snapshot', async () => {

const user = userEvent.setup();

render(<SimpleSelect initialOptions={initialOptions} />);

const { asFragment } = render(<SimpleSelect initialOptions={initialOptions} toggleContent="Select" />);

const toggle = screen.getByRole('button', { name: 'Select' });
Expand Down
Loading