Skip to content

Commit

Permalink
test(module:drawer): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz committed Feb 27, 2019
1 parent 245802f commit 55196c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/drawer/nz-drawer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { async, fakeAsync, inject, tick, ComponentFixture, TestBed } from '@angu

import { OverlayContainer } from '@angular/cdk/overlay';
import { BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { NzDrawerRef } from './nz-drawer-ref';
import { NzDrawerComponent } from './nz-drawer.component';
import { NzDrawerModule } from './nz-drawer.module';
Expand All @@ -18,7 +19,7 @@ describe('NzDrawerComponent', () => {

beforeEach(async(() => {
TestBed.configureTestingModule({
imports : [ NzDrawerModule ],
imports : [ NzDrawerModule, NoopAnimationsModule ],
declarations: [ NzTestDrawerComponent ]
})
.compileComponents();
Expand Down

0 comments on commit 55196c1

Please sign in to comment.