import { render } from '@testing-library/react' import React from 'react' import Select from './Select' const optionsArray = [ ['great', 'Great'], ['ok', 'Ok'], ['bad', 'Bad'], ] const mapPairToOption = (value: string, label: string) => { return ( ) } describe('Select', () => { it('`data-store-select` is present', () => { const { getByTestId } = render( ) expect(getByTestId('store-select')).toHaveAttribute('data-store-select') }) it('select is empty when no options are given', () => { const { getByTestId } = render(