File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -113,9 +113,7 @@ describe('Table Header Cell Renderer', () => {
113
113
}
114
114
} ) ;
115
115
116
- spectator . click ( '.options-button' ) ;
117
- expect ( spectator . query ( '.sort-ascending' , { root : true } ) ) . not . toExist ( ) ;
118
- expect ( spectator . query ( '.sort-descending' , { root : true } ) ) . not . toExist ( ) ;
116
+ expect ( spectator . query ( '.options-button' , { root : true } ) ) . not . toExist ( ) ;
119
117
} ) ;
120
118
121
119
test ( 'should create tooltip correctly' , ( ) => {
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ import { TableColumnConfigExtended } from '../table.service';
43
43
<ng-container *ngTemplateOutlet="optionsButton"></ng-container>
44
44
</ng-container>
45
45
46
+ <ng-template #htmlTooltip>
47
+ <div [innerHTML]="this.columnConfig?.titleTooltip"></div>
48
+ </ng-template>
49
+
46
50
<ng-template #optionsButton>
47
51
<ht-popover class="options-button" [closeOnClick]="true">
48
52
<ht-popover-trigger>
@@ -74,10 +78,6 @@ import { TableColumnConfigExtended } from '../table.service';
74
78
</div>
75
79
</ht-popover-content>
76
80
</ht-popover>
77
-
78
- <ng-template #htmlTooltip>
79
- <div [innerHTML]="this.columnConfig?.titleTooltip"></div>
80
- </ng-template>
81
81
</ng-template>
82
82
</div>
83
83
`
You can’t perform that action at this time.
0 commit comments