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