-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
103 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
// @ts-expect-error https://thymikee.github.io/jest-preset-angular/docs/getting-started/test-environment | ||
globalThis.ngJest = { | ||
testEnvironmentOptions: { | ||
errorOnUnknownElements: true, | ||
errorOnUnknownProperties: true, | ||
}, | ||
} | ||
import 'jest-preset-angular/setup-jest' | ||
import '../../../jest.setup' | ||
|
||
class ResizeObserverMock { | ||
observe = jest.fn() | ||
unobserve = jest.fn() | ||
} | ||
|
||
;(window as any).ResizeObserver = ResizeObserverMock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
<main class="w-2/3 mx-auto my-12"> | ||
<gn-search-input | ||
class="mt-28" | ||
api-url="https://www.geo2france.fr/geonetwork/srv/api" | ||
primary-color="#0f4395" | ||
secondary-color="#8bc832" | ||
main-color="#555" | ||
background-color="#fdfbff" | ||
main-font="'Inter', sans-serif" | ||
title-font="'DM Serif Display', serif" | ||
></gn-search-input> | ||
|
||
<gn-facets | ||
api-url="https://www.geo2france.fr/geonetwork/srv/api" | ||
facet-config='{"tag.default":{"terms":{"field":"tag.default","include":".*","size": 10}}}' | ||
></gn-facets> | ||
<gn-results-list | ||
api-url="https://www.geo2france.fr/geonetwork/srv/api" | ||
></gn-results-list> | ||
<main class="py-12"> | ||
<wc-gn-record-view | ||
class="mx-auto w-[500px] h-[700px] overflow-auto" | ||
apiUrl="https://www.geocat.ch/geonetwork/srv/api" | ||
recordId="8698bf0b-fceb-4f0f-989b-111e7c4af0a4" | ||
primaryColor="#0f4395" | ||
secondaryColor="#8bc832" | ||
mainColor="#555" | ||
backgroundColor="#fdfbff" | ||
mainFont="'Inter', sans-serif" | ||
titleFont="'DM Serif Display', serif" | ||
></wc-gn-record-view> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters