-import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
+import { configureTestBed } from '~/testing/unit-test-helper';
import { BlankLayoutComponent } from './blank-layout.component';
describe('DefaultLayoutComponent', () => {
let component: BlankLayoutComponent;
let fixture: ComponentFixture<BlankLayoutComponent>;
- beforeEach(async(() => {
- TestBed.configureTestingModule({
- declarations: [BlankLayoutComponent],
- imports: [RouterTestingModule]
- }).compileComponents();
- }));
+ configureTestBed({
+ declarations: [BlankLayoutComponent],
+ imports: [RouterTestingModule]
+ });
beforeEach(() => {
fixture = TestBed.createComponent(BlankLayoutComponent);