mirror of
https://github.com/ansible/awx.git
synced 2026-01-29 07:14:43 -03:30
* 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
20 lines
434 B
JavaScript
20 lines
434 B
JavaScript
import React from 'react';
|
|
import Templates from '../../src/pages/Templates/Templates';
|
|
import { mountWithContexts } from '../enzymeHelpers';
|
|
|
|
describe('<Templates />', () => {
|
|
let pageWrapper;
|
|
|
|
beforeEach(() => {
|
|
pageWrapper = mountWithContexts(<Templates />);
|
|
});
|
|
|
|
afterEach(() => {
|
|
pageWrapper.unmount();
|
|
});
|
|
|
|
test('initially renders without crashing', () => {
|
|
expect(pageWrapper.length).toBe(1);
|
|
});
|
|
});
|