Skip to content

Commit 5bb67c9

Browse files
committed
clean up test
1 parent 492e7e4 commit 5bb67c9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/module/src/DataViewFilters/DataViewFilters.test.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,7 @@ describe('DataViewFilters component', () => {
3232
/>
3333
);
3434
const input = getByLabelText('One filter');
35-
// Simulate user typing 'abc' in the input
3635
input.focus();
37-
// fireEvent.change triggers the onChange handler of the input
38-
// The SearchInput component expects the value as the second argument
39-
// so we use fireEvent.change with { target: { value: 'abc' } }
40-
// but since SearchInput is a custom component, we use fireEvent.input
41-
// to trigger the native input event
4236
fireEvent.input(input, { target: { value: 'abc' } });
4337
expect(mockOnChange).toHaveBeenCalledWith('one', { one: 'abc' });
4438
});

0 commit comments

Comments
 (0)