mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-15 20:41:49 -05:00
* adding package-lock.json * deleted unsured file * Removes and unused file * Fixes errant styling change * Fixes an error and uses a prop that PF recognizes * Updates PR to use API Modules * Fixes PR Issues * Addes tests to Templates * Addresses PR Issues * Revert package-lock.json
17 lines
472 B
JavaScript
17 lines
472 B
JavaScript
import React from 'react';
|
|
import { mountWithContexts } from '../../../enzymeHelpers';
|
|
import TemplatesListItem from '../../../../src/pages/Templates/components/TemplateListItem';
|
|
|
|
describe('<TemplatesListItem />', () => {
|
|
test('initially render successfully', () => {
|
|
mountWithContexts(<TemplatesListItem
|
|
template={{
|
|
id: 1,
|
|
name: 'Template 1',
|
|
url: '/templates/job_template/1',
|
|
type: 'job_template'
|
|
}}
|
|
/>);
|
|
});
|
|
});
|