Skip to content

Commit

Permalink
test(module:page-header): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz committed Jun 17, 2019
1 parent fa55df5 commit b22c395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/page-header/nz-page-header.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('NzPageHeaderComponent', () => {
const fixture = TestBed.createComponent(NzDemoPageHeaderBasicComponent);
const pageHeader = fixture.debugElement.query(By.directive(NzPageHeaderComponent));
fixture.detectChanges();
expect(pageHeader.nativeElement.querySelector('.ant-page-header-back > i.anticon-arrow-left')).toBeTruthy();
expect(pageHeader.nativeElement.querySelector('.ant-page-header-back i.anticon-arrow-left')).toBeTruthy();
});

it('should does not have an default back icon', () => {
Expand Down

0 comments on commit b22c395

Please sign in to comment.