Skip to content

Commit 7c8970f

Browse files
test(widget): limpa help antes de testar ausência de ações
1 parent 66770c2 commit 7c8970f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

projects/ui/src/lib/components/po-widget/po-widget.component.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@ describe('PoWidgetComponent with title and actions', () => {
951951
it('should not add `po-widget-header--tag-top-actions` class when there are no actions', () => {
952952
component.tagLabel = 'Sales';
953953
fixture.componentRef.setInput('p-tag-position', 'top');
954+
component.help = undefined;
954955
component.actions = [];
955956

956957
fixture.detectChanges();

0 commit comments

Comments
 (0)