mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Changed post to create in api.js. Removed capitalize text component in favor of css solution. Updates to empty list contents. Fixes padding on notifications list
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
import React from 'react';
|
||||
import { mount } from 'enzyme';
|
||||
import CapitalizeText from '../../src/components/CapitalizeText';
|
||||
|
||||
describe('<CapitalizeText />', () => {
|
||||
let capitalizeTextWrapper;
|
||||
|
||||
test('initially renders without crashing', () => {
|
||||
capitalizeTextWrapper = mount(
|
||||
<CapitalizeText text="foo" />
|
||||
);
|
||||
expect(capitalizeTextWrapper.length).toBe(1);
|
||||
expect(capitalizeTextWrapper.text()).toEqual('Foo');
|
||||
capitalizeTextWrapper.unmount();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user