blob: b9ccb3e1b1c4e64c965cd621274e4b37786cd193 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { describe, expect, it } from '@jest/globals';
import { render, screen as rtlScreen } from '../../../../tests/utils';
import { LoadingPageComments } from './loading-page-comments';
describe('LoadingPageComments', () => {
it('renders a spinner', () => {
render(<LoadingPageComments />);
expect(
rtlScreen.getByText('The comments are loading...')
).toBeInTheDocument();
});
});
|