Implement new UI
This commit is contained in:
10
front/src/pages/people/__tests__/People.test.tsx
Normal file
10
front/src/pages/people/__tests__/People.test.tsx
Normal file
@ -0,0 +1,10 @@
|
||||
import { render } from '@testing-library/react';
|
||||
|
||||
import { PeopleDefault } from '../__stories__/People.stories';
|
||||
|
||||
it('Checks the People page render', () => {
|
||||
const { getByTestId } = render(<PeopleDefault />);
|
||||
|
||||
const title = getByTestId('top-bar-title');
|
||||
expect(title).toHaveTextContent('People');
|
||||
});
|
||||
Reference in New Issue
Block a user