mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-03 02:11:07 +05:30
11 lines
354 B
TypeScript
11 lines
354 B
TypeScript
import { describe, it, expect } from 'vitest';
|
|
import { render, screen } from '@testing-library/react';
|
|
import { StatusBar } from '@/components/layout/StatusBar';
|
|
|
|
describe('StatusBar', () => {
|
|
it('renders zero word count when no file is open', () => {
|
|
render(<StatusBar />);
|
|
expect(screen.getByText(/0 words/i)).toBeInTheDocument();
|
|
});
|
|
});
|