1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
5 import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
6 import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
8 import { RouterTestingModule } from '@angular/router/testing';
9 import { SharedModule } from '../../../shared/shared.module';
10 import { LoginLayoutComponent } from './login-layout.component';
12 describe('LoginLayoutComponent', () => {
13 let component: LoginLayoutComponent;
14 let fixture: ComponentFixture<LoginLayoutComponent>;
16 beforeEach(async(() => {
17 TestBed.configureTestingModule({
18 declarations: [LoginLayoutComponent],
20 BrowserAnimationsModule,
21 BsDropdownModule.forRoot(),
22 BsDatepickerModule.forRoot(),
23 HttpClientTestingModule,
27 }).compileComponents();
31 fixture = TestBed.createComponent(LoginLayoutComponent);
32 component = fixture.componentInstance;
33 fixture.detectChanges();
36 it('should create', () => {
37 expect(component).toBeTruthy();