import {mountWithTheme} from 'sentry-test/enzyme';
import {FormState, GenericField} from 'sentry/components/deprecatedforms';
describe('GenericField', function () {
it('renders text as TextInput', function () {
const wrapper = mountWithTheme(
);
expect(wrapper.find('TextField')).toHaveLength(1);
});
it('renders text with choices as SelectCreatableField', function () {
const wrapper = mountWithTheme(
);
expect(wrapper.find('SelectCreatableField')).toHaveLength(1);
});
});