import { async , TestBed } from '@angular/core/testing' ; import { FormsModule } from '@angular/forms' ; import { MatCheckboxModule , MatDialogModule , MatExpansionModule , MatIconModule , MatListModule , MatMenuModule , MatSelectModule , MatSnackBarModule , MatTabsModule , MatToolbarModule , MatTooltipModule } from '@angular/material' ; import { RouterTestingModule } from '@angular/router/testing' ; import { ElectronService } from 'ngx-electron' ; import { DvModule } from '@deja-vu/core' ; import { DesignerComponent } from './designer.component' ; import { ComponentDefinitionComponent } from '../component-definition/component-definition.component' ; import { ComponentInstanceComponent } from '../component-instance/component-instance.component' ; import { ConceptInstancesComponent } from '../concept-instances/concept-instances.component' ; import { FloatingMenuComponent } from '../floating-menu/floating-menu.component' ; import { InsertComponentComponent } from '../insert-component/insert-component.component' ; import { SetInputsComponent } from '../set-inputs/set-inputs.component' ; import { SideMenuComponent } from '../side-menu/side-menu.component' ; import { TopBarComponent } from '../top-bar/top-bar.component' ; describe ( 'DesignerComponent' , ( ) => { beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ ComponentDefinitionComponent , ComponentInstanceComponent , ConceptInstancesComponent , DesignerComponent , FloatingMenuComponent , InsertComponentComponent , SetInputsComponent , SideMenuComponent , TopBarComponent ] , imports : [ DvModule , FormsModule , MatCheckboxModule , MatDialogModule , MatExpansionModule , MatIconModule , MatListModule , MatMenuModule , MatSelectModule , MatSnackBarModule , MatTabsModule , MatToolbarModule , MatTooltipModule , RouterTestingModule ] , providers : [ ElectronService ] } ) . compileComponents ( ) ; } ) ) ; it ( 'should create the app' , async ( ( ) => { const fixture = TestBed . createComponent ( DesignerComponent ) ; const app = fixture . debugElement . componentInstance ; expect ( app ) . toBeTruthy ( ) ; } ) ) ; } ) ;