@cnamts/form-builder
Version:
FormBuilder for the French Health Insurance
23 lines (16 loc) • 452 B
text/typescript
import Vue from 'vue';
import { Wrapper } from '@vue/test-utils';
import { mountComponent } from '@cnamts/vue-dot/tests';
import FormFieldList from '../';
import { addressFields } from './data/addressFields';
let wrapper: Wrapper<Vue>;
describe('FormFieldList', () => {
it('renders correctly', () => {
wrapper = mountComponent(FormFieldList, {
propsData: {
fields: addressFields
}
});
expect(wrapper).toMatchSnapshot();
});
});