aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/notice.test.tsx
blob: 4501f8f382833d2af88f77ada5e868ddba4407af (plain)
1
2
3
4
5
6
7
8
9
10
11
import { render, screen } from '@test-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();
  });
});