Skip to content

Commit

Permalink
fixup! chore: fix various test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Jan 7, 2025
1 parent 63a25ba commit 5c54086
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5c54086

Please sign in to comment.