roles.test.js 348 B

123456789101112
  1. import { shallow } from 'enzyme';
  2. import toJson from 'enzyme-to-json';
  3. import 'intersection-observer';
  4. import React from 'react';
  5. import RolesPage from '../../src/pages/roles';
  6. describe('RolesPage page', () => {
  7. it('renders correctly', () => {
  8. const wrapper = shallow(<RolesPage />);
  9. expect(toJson(wrapper)).toMatchSnapshot();
  10. });
  11. });