import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ; import { NgxMatIntlTelInputModule } from './../../../ngx-mat-intl-tel-input/src/lib/ngx-mat-intl-tel-input.module' ; import { TestBed , async } from '@angular/core/testing' ; import { AppComponent } from './app.component' ; import { FormsModule , ReactiveFormsModule } from '@angular/forms' ; import { MatFormFieldModule } from '@angular/material/form-field' ; import { MatInputModule } from '@angular/material/input' ; import { MatButtonModule } from '@angular/material/button' ; import { MatMenuModule } from '@angular/material/menu' ; import { MatDividerModule } from '@angular/material/divider' ; import { BrowserModule } from '@angular/platform-browser' ; import { CommonModule } from '@angular/common' ; describe ( 'AppComponent' , ( ) => { beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ AppComponent ] , imports : [ BrowserModule , FormsModule , ReactiveFormsModule , MatFormFieldModule , MatInputModule , MatButtonModule , MatMenuModule , MatDividerModule , NgxMatIntlTelInputModule , BrowserAnimationsModule , CommonModule , ] , } ) . compileComponents ( ) ; } ) ) ; it ( 'should create the app' , ( ) => { const fixture = TestBed . createComponent ( AppComponent ) ; const app = fixture . debugElement . componentInstance ; expect ( app ) . toBeTruthy ( ) ; } ) ; } ) ;