Skip to content

Commit

Permalink
Fix panel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asimonok committed Mar 14, 2024
1 parent 103580e commit b2c3a96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TablePanel/TablePanel.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ describe('TablePanel', () => {
/**
* Get Tested Component
*/
const getComponent = ({ options = { name: 'data' }, ...restProps }: Partial<Props>) => {
return <TablePanel data={data} options={options} {...(restProps as any)} />;
const getComponent = (props: Partial<Props>) => {
return <TablePanel data={data} options={{}} {...(props as any)} />;
};

it('Should find component', async () => {
Expand Down

0 comments on commit b2c3a96

Please sign in to comment.