Skip to content

Commit b158c59

Browse files
Copilotrenemadsen
andcommitted
Replace Jest matcher toHaveProperty with Jasmine's toBeUndefined
Co-authored-by: renemadsen <[email protected]>
1 parent 992d950 commit b158c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/download-excel/download-excel-dialog.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ describe('DownloadExcelDialogComponent', () => {
141141
component.onDownloadExcelReportAllWorkers();
142142

143143
const callArgs = mockWorkingHoursService.downloadReportAllWorkers.calls.mostRecent().args[0];
144-
expect(callArgs).not.toHaveProperty('siteId');
144+
expect(callArgs.siteId).toBeUndefined();
145145
});
146146
});
147147
});

0 commit comments

Comments
 (0)