Store refresh token on login

This commit is contained in:
Charles Bochet
2023-04-20 18:46:27 +02:00
parent fe10c0ba7d
commit cd18e952b9
21 changed files with 484 additions and 2 deletions

View File

@ -0,0 +1,7 @@
import { render } from '@testing-library/react';
import { CallbackDefault } from '../__stories__/Callback.stories';
it('Checks the Callback page render', () => {
render(<CallbackDefault />);
});

View File

@ -0,0 +1,15 @@
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 />);
});