Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Feb 12, 2025
1 parent 0c37257 commit 6f01ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tests/src/tests/pin-input/pin-input.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe("Pin Input", () => {
const mockComplete = vi.fn();
const { user, hiddenInput } = setup({
onComplete: mockComplete,
onPaste: (text) => text.replace(/-/g, ""),
pasteTransformer: (text) => text.replace(/-/g, ""),
});

await user.click(hiddenInput);
Expand Down Expand Up @@ -207,7 +207,7 @@ describe("Pin Input", () => {
const { user, hiddenInput } = setup({
maxlength: 6,
onComplete: mockComplete,
onPaste: (text) => text.replace(/-/g, ""),
pasteTransformer: (text) => text.replace(/-/g, ""),
});

await user.click(hiddenInput);
Expand Down

0 comments on commit 6f01ecd

Please sign in to comment.