Skip to content

Commit 010baa1

Browse files
committed
fix lints
1 parent 18e71a7 commit 010baa1

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/internal/components/MobileTray.test.tsx

+9-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ describe('MobileTray', () => {
3030

3131
it('does not render overlay when closed', () => {
3232
render(<MobileTray {...defaultProps} isOpen={false} />);
33-
expect(screen.queryByTestId('ockMobileTrayOverlay')).not.toBeInTheDocument();
33+
expect(
34+
screen.queryByTestId('ockMobileTrayOverlay'),
35+
).not.toBeInTheDocument();
3436
});
3537

3638
it('calls onClose when overlay is clicked', () => {
@@ -41,7 +43,9 @@ describe('MobileTray', () => {
4143

4244
it('calls onClose when Escape key is pressed on overlay', () => {
4345
render(<MobileTray {...defaultProps} />);
44-
fireEvent.keyDown(screen.getByTestId('ockDismissableLayer'), { key: 'Escape' });
46+
fireEvent.keyDown(screen.getByTestId('ockDismissableLayer'), {
47+
key: 'Escape',
48+
});
4549
expect(defaultProps.onClose).toHaveBeenCalled();
4650
});
4751

@@ -59,7 +63,9 @@ describe('MobileTray', () => {
5963
/>,
6064
);
6165
expect(screen.getByTestId('ockMobileTray')).toHaveClass('custom-tray');
62-
expect(screen.getByTestId('ockMobileTrayOverlay')).toHaveClass('custom-overlay');
66+
expect(screen.getByTestId('ockMobileTrayOverlay')).toHaveClass(
67+
'custom-overlay',
68+
);
6369
});
6470

6571
it('applies custom className when provided', () => {

src/wallet/components/WalletAdvancedContent.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ describe('WalletAdvancedContent', () => {
324324
mockUseBreakpoints.mockReturnValue('sm');
325325
mockUseWalletContext.mockReturnValue({
326326
isSubComponentOpen: true,
327-
isSubComponentClosing: false
327+
isSubComponentClosing: false,
328328
});
329329

330330
render(

0 commit comments

Comments
 (0)