import React from 'react'; import { shallow } from 'enzyme'; import { QueryField } from './QueryField'; describe('', () => { it('renders with null initial value', () => { const wrapper = shallow(); expect(wrapper.find('div').exists()).toBeTruthy(); }); it('renders with empty initial value', () => { const wrapper = shallow(); expect(wrapper.find('div').exists()).toBeTruthy(); }); it('renders with initial value', () => { const wrapper = shallow(); expect(wrapper.find('div').exists()).toBeTruthy(); }); });