mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Add Job results skeleton tests
This commit is contained in:
15
__tests__/pages/Jobs/screens/Job/JobOutput.test.jsx
Normal file
15
__tests__/pages/Jobs/screens/Job/JobOutput.test.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
import { mountWithContexts } from '../../../../enzymeHelpers';
|
||||
import JobOutput from '../../../../../src/pages/Jobs/JobOutput/';
|
||||
|
||||
describe('<JobOutput />', () => {
|
||||
const mockDetails = {
|
||||
name: 'Foo'
|
||||
};
|
||||
|
||||
test('initially renders succesfully', () => {
|
||||
mountWithContexts(
|
||||
<JobOutput job={ mockDetails } />
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user