Skip to content

Commit

Permalink
Stop expecting second argument in test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Feb 14, 2024
1 parent 4f87962 commit 523a249
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/RegionInput.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ test("it calls handleRegionChange when region is changed with new region", async
await userEvent.type(input, NEW_REGION);

expect(handleRegionChangeMock).toHaveBeenLastCalledWith(
NEW_REGION,
undefined
NEW_REGION
);
});

0 comments on commit 523a249

Please sign in to comment.