Skip to content

Commit

Permalink
Remove incorrect usage of @storybook/testing-library
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros committed Jan 6, 2025
1 parent 3f60423 commit 7cd2fe7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
getFacetedUniqueValues as defaultGetFacetedUniqueValues,
} from '@tanstack/react-table'
import { ColumnHeaderEnumFilter } from './ColumnHeaderEnumFilter'
import { userEvent } from '@storybook/testing-library'
import { userEvent } from '@testing-library/user-event'

type TestTableRow = {
multiSelect: string
Expand Down Expand Up @@ -139,7 +139,7 @@ function ColumnHeaderEnumFilterTestComponent(props: { columnId: string }) {
return <ColumnHeaderEnumFilter column={column} title={columnId} />
}

function renderComponent<TData = unknown, TValue = unknown>(columnId: string) {
function renderComponent(columnId: string) {
const user = userEvent.setup()
render(<ColumnHeaderEnumFilterTestComponent columnId={columnId} />, {
wrapper: createWrapper(),
Expand Down

0 comments on commit 7cd2fe7

Please sign in to comment.