Skip to content

Commit

Permalink
fix: test payonchain separator was , (#648)
Browse files Browse the repository at this point in the history
Fixes test when run with locales that would use comma as separator
  • Loading branch information
dni authored Jul 23, 2024
1 parent d956aa9 commit e59d304
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/components/PayOnchain.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ describe("PayOnchain", () => {
)) as HTMLDivElement;
expect(buttons).not.toBeUndefined();

globalSignals.setSeparator(".");
globalSignals.setDenomination(Denomination.Sat);
fireEvent.click(buttons.children[0]);

Expand Down

0 comments on commit e59d304

Please sign in to comment.