mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 21:27:58 +00:00
16 lines
333 B
TypeScript
16 lines
333 B
TypeScript
import { render } from '@testing-library/react';
|
|
import { LoginDefault } from '../__stories__/Login.stories';
|
|
|
|
const assignMock = jest.fn();
|
|
|
|
delete window.location;
|
|
window.location = { assign: assignMock };
|
|
|
|
afterEach(() => {
|
|
assignMock.mockClear();
|
|
});
|
|
|
|
it('Checks the Login page render', () => {
|
|
render(<LoginDefault />);
|
|
});
|