1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2 import { FormControl } from '@angular/forms';
3 import { FormlyModule } from '@ngx-formly/core';
5 import { FormlyFileTypeComponent } from './formly-file-type.component';
6 import { configureTestBed } from '~/testing/unit-test-helper';
8 describe('FormlyFileTypeComponent', () => {
9 let component: FormlyFileTypeComponent;
10 let fixture: ComponentFixture<FormlyFileTypeComponent>;
13 imports: [FormlyModule.forRoot()],
14 declarations: [FormlyFileTypeComponent]
18 fixture = TestBed.createComponent(FormlyFileTypeComponent);
19 component = fixture.componentInstance;
21 const formControl = new FormControl();
31 component.field = field;
33 fixture.detectChanges();
36 it('should create', () => {
37 expect(component).toBeTruthy();