Trek_CN/client
jubnl e3a5bc0f77
fix(tests): mock FormData uploads at API boundary to fix CI timeouts
jsdom's FormData is incompatible with undici's ReadableStream serialisation
used by MSW 2.x — requests hang under CI resource constraints but pass locally.
Replace server.use() + implicit HTTP roundtrip with vi.spyOn().mockResolvedValueOnce()
for all five FormData POST tests (uploadAvatar, uploadRestore, addFile, importGpx).
2026-04-11 02:29:11 +02:00
..
public ui(trip): replace plane loading animation with TREK logo GIF 2026-04-05 17:28:04 +02:00
scripts Add PWA support for iOS home screen install 2026-03-21 22:21:23 +01:00
src fix(tests): mock FormData uploads at API boundary to fix CI timeouts 2026-04-11 02:29:11 +02:00
tests fix(tests): mock FormData uploads at API boundary to fix CI timeouts 2026-04-11 02:29:11 +02:00
index.html fix: harden PWA caching and client-side auth security 2026-03-31 00:33:58 +00:00
package-lock.json fix(client): downgrade vitest to ^3.x to align with vite@5 2026-04-09 23:23:04 +02:00
package.json fix(client): downgrade vitest to ^3.x to align with vite@5 2026-04-09 23:23:04 +02:00
postcss.config.js Initial commit — NOMAD (Navigation Organizer for Maps, Activities & Destinations) 2026-03-18 23:58:08 +01:00
tailwind.config.js Initial commit — NOMAD (Navigation Organizer for Maps, Activities & Destinations) 2026-03-18 23:58:08 +01:00
tsconfig.json test(front): add test suite frontend (WIP) 2026-04-07 12:31:09 +02:00
vite.config.js fix(csp): disable Vite module preload polyfill to prevent inline script violation 2026-04-10 01:10:32 +02:00
vitest.config.ts test(front): add test suite frontend (WIP) 2026-04-07 12:31:09 +02:00