Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hansl committed Feb 6, 2025
1 parent 4801c42 commit a59c239
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/react/authSignerModal.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('SignModal', () => {
reject={() => {
rejected = true;
}}
/>,
/>
);

// Click reject.
Expand Down Expand Up @@ -82,7 +82,7 @@ describe('SignModal', () => {
reject={() => {
rejected = true;
}}
/>,
/>
);

expect(isOpen).toBe(true);
Expand Down Expand Up @@ -112,14 +112,14 @@ describe('SignModal', () => {
reject={() => {
rejected = true;
}}
/>,
/>
);

expect(isOpen).toBe(true);
const btn = screen.getByText('✕');
btn.focus();
document.dispatchEvent(
new KeyboardEvent('keydown', { key: 'Escape', bubbles: true, cancelable: true }),
new KeyboardEvent('keydown', { key: 'Escape', bubbles: true, cancelable: true })
);
expect(isOpen).toBe(false);
expect(approved).toBe(false);
Expand Down

0 comments on commit a59c239

Please sign in to comment.