This library contains pre-built, reusable data providers used for the application system.
Many applications need to store external data that cannot be manipulated, but should be stored within the application. This data is often fetched from external sources (via x-road or other services available to island.is) and is used for either prefilling fields in the form, or for validation and information uses.
Create a new class which extends the DataProvider
interface, or extends the abstract class BasicDataProvider
.
to execute the unit tests via Jest
yarn nx test application-data-providers
To lint run
yarn nx lint application-data-providers