mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
style: run prettier formatter over src and tests
This commit is contained in:
@@ -34,10 +34,8 @@ describe('ConfirmDialog', () => {
|
||||
});
|
||||
|
||||
it('destructive variant uses destructive button class', () => {
|
||||
render(
|
||||
<ConfirmDialog title="T" body="B" destructive onConfirm={() => {}} />
|
||||
);
|
||||
render(<ConfirmDialog title="T" body="B" destructive onConfirm={() => {}} />);
|
||||
const btn = screen.getByRole('button', { name: /confirm/i });
|
||||
expect(btn.className).toContain('bg-destructive');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user