mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
16 lines
395 B
JavaScript
16 lines
395 B
JavaScript
import React from 'react';
|
|
import { mount } from 'enzyme';
|
|
import About from '../../src/components/About';
|
|
|
|
let aboutWrapper;
|
|
let headerElem;
|
|
|
|
describe('<About />', () => {
|
|
test('initially renders without crashing', () => {
|
|
aboutWrapper = mount(<About />);
|
|
headerElem = aboutWrapper.find('h2');
|
|
expect(aboutWrapper.length).toBe(1);
|
|
expect(headerElem.length).toBe(1);
|
|
});
|
|
});
|