Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanogermano committed Jan 22, 2025
1 parent 4551561 commit 7e7d990
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/__tests__/components/Option.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ describe("<OptionTextValue />", () => {

it("test delete swipe", async () => {
const onChangeOptionValues = jest.fn();
const user = userEvent.setup()
render(
<Option
optionsAvailable={optionsAvailable}
Expand All @@ -231,7 +230,7 @@ describe("<OptionTextValue />", () => {

const swipeOpt = await screen.findByTestId("swipe-delete");

fireEvent.ionSwipe(swipeOpt, 'onSwipeLeft');
fireEvent(swipeOpt, 'onSwipeLeft');

expect(onChangeOptionValues).toBeCalledTimes(1);
});
Expand Down

0 comments on commit 7e7d990

Please sign in to comment.