blob: 87914c3c13dcfe9e1a2ea31f7cef46169f891771 (
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 { PendingComment } from './pending-comment';
describe('PendingComment', () => {
  it('renders a text to inform user', () => {
    render(<PendingComment />);
    expect(
      rtlScreen.getByText('This comment is awaiting moderation…')
    ).toBeInTheDocument();
  });
});
 |