diff --git a/apps/datahub/src/app/record/record-downloads/record-downloads.component.spec.ts b/apps/datahub/src/app/record/record-downloads/record-downloads.component.spec.ts index 2e5a12d4c..9b0d5d2b0 100644 --- a/apps/datahub/src/app/record/record-downloads/record-downloads.component.spec.ts +++ b/apps/datahub/src/app/record/record-downloads/record-downloads.component.spec.ts @@ -17,6 +17,7 @@ import { PopupAlertComponent } from '@geonetwork-ui/ui/widgets' // https://github.com/jestjs/jest/issues/14012 const newUrl = (url: string) => { const obj = new URL(url) + // eslint-disable-next-line @typescript-eslint/no-unused-expressions obj.searchParams // calling the getter once to fill query params return obj }