Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz committed Aug 22, 2019
1 parent 5388ff0 commit cd46760
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('time-picker-panel', () => {
expect(testComponent.nzTimePickerPanelComponent.enabledColumns).toBe(2);
});
it('should default open value work', fakeAsync(() => {
testComponent.nzTimePickerPanelComponent.opened = true;
testComponent.opened = true;
fixture.detectChanges();
tick(1000);
fixture.detectChanges();
Expand Down Expand Up @@ -294,12 +294,14 @@ describe('time-picker-panel', () => {
[nzSecondStep]="secondStep"
[nzMinuteStep]="minuteStep"
[nzHourStep]="hourStep"
[opened]="opened"
>
</nz-time-picker-panel>
`,
styleUrls: ['../style/index.less', './style/index.less']
})
export class NzTestTimePanelComponent {
opened = false;
secondStep = 1;
minuteStep = 1;
hourStep = 1;
Expand Down
4 changes: 2 additions & 2 deletions components/tooltip/base/nz-tooltip-base.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import { NzTooltipTrigger } from '../nz-tooltip.definitions';
* Tooltip component. Also the base component for legacy components.
*/
export abstract class NzTooltipBaseComponent {
nzTitle: NzTSType | null = null;
nzContent: NzTSType | null = null;
nzTitle: NzTSType | null;
nzContent: NzTSType | null;
nzVisible: boolean;
nzPlacement: string;
nzOverlayClassName: string;
Expand Down

0 comments on commit cd46760

Please sign in to comment.