mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +00:00
14 lines
553 B
TypeScript
14 lines
553 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
import { screen } from '@testing-library/react';
|
|
import { renderWithProviders } from '@/test/helpers/renderWithProviders';
|
|
import { PlaybackBufferingOverlay } from '@/features/playback/components/PlaybackBufferingOverlay';
|
|
|
|
describe('PlaybackBufferingOverlay', () => {
|
|
it('exposes buffering status for assistive tech', () => {
|
|
renderWithProviders(<PlaybackBufferingOverlay />);
|
|
expect(
|
|
screen.getByRole('status', { name: 'Loading track from server' }),
|
|
).toBeInTheDocument();
|
|
});
|
|
});
|