feat(renderer): Toolbar skeleton with formatting buttons

This commit is contained in:
2026-06-05 11:48:26 +05:30
parent 95e2f45f1f
commit 7ecf54ceb0
2 changed files with 26 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { describe, it, expect } from 'vitest';
import { render, screen } from '@testing-library/react';
import { Toolbar } from '@/components/layout/Toolbar';
describe('Toolbar', () => {
it('renders formatting buttons', () => {
render(<Toolbar />);
expect(screen.getByRole('button', { name: /bold/i })).toBeInTheDocument();
expect(screen.getByRole('button', { name: /italic/i })).toBeInTheDocument();
});
});