Skip to content
Snippets Groups Projects

Move back cookie fetch to SignInForm. Role fetched and saved into a Context. Small refactorings.

Merged Defendi Alberto requested to merge feature/role into dev
2 files
+ 49
0
Compare changes
  • Side-by-side
  • Inline
Files
2
import React from 'react';
import { render } from '@testing-library/react';
import { ChoseRole } from './ChoseRole';
describe('<ChoseRole />', () => {
it('renders without crashing', () => {
const wrapper = render(<ChoseRole />);
expect(wrapper.queryByTestId('ChoseRole')).toBeTruthy();
});
});
Loading