aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/notice.test.tsx
blob: 16c530dfd74df446ad3e06db8ac869050fcbfc43 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { render, screen } from '../../../../tests/utils';
import { Notice } from './notice';

const message = 'Tenetur consequuntur tempore.';

describe('Notice', () => {
  it('renders a message', () => {
    render(<Notice kind="info" message={message} />);
    expect(screen.getByText(message)).toBeInTheDocument();
  });
});