Skip to content

Commit

Permalink
[YUNIKORN-2679] Fixed failing test on apps-view component
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoric committed Jun 24, 2024
1 parent fdcdcc2 commit 467557a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/apps-view/apps-view.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('AppsViewComponent', () => {
it('should copy the allocations URL to clipboard', () => {
const debugEl: DebugElement = fixture.debugElement;
const copyButton = debugEl.query(By.css('.copy-btn'));
const copyButtonSpy = spyOn(component, 'copyLinkToClipboard').and.callThrough();
const copyButtonSpy = spyOn(component, 'copyLinkToClipboard');
copyButton.triggerEventHandler('click', null);
expect(copyButtonSpy).toHaveBeenCalled();
});
Expand Down

0 comments on commit 467557a

Please sign in to comment.