Add unit tests for ProfileRepository and implement new shaders

- Created `NativeAssetsManifest.json` and added font and shader assets for unit tests.
- Implemented `ink_sparkle.frag` and `stretch_effect.frag` shaders for visual effects.
- Developed unit tests for `ProfileRepository` to validate API interactions for fetching and updating user profiles.
- Utilized Mockito for mocking API client responses in tests.
This commit is contained in:
Nils-Johan Gynther
2026-04-23 17:50:48 +02:00
parent b92ada1f30
commit aefc8804ad
12 changed files with 208 additions and 0 deletions
+3
View File
@@ -11,6 +11,9 @@ COPY . .
# Generate localizations (ARB -> Dart) before the main build.
RUN flutter gen-l10n
# Run tests
RUN flutter test
# Inject API base URL at build time via --dart-define.
# Default to same-origin /api to avoid mixed-content in HTTPS deployments.
ARG API_BASE_URL=/api