feat(tests): add new media fuzz and HTTP integration tests for backend media APIs

This commit is contained in:
Ivan
2026-04-17 23:28:44 -05:00
parent 179d93eac4
commit 250ea36e4c
+16
View File
@@ -195,6 +195,22 @@ tasks:
cmds:
- "{{.NPM}} run test:loadtime"
test:be:media-fuzz:
desc: Hypothesis fuzz tests for stickers, TGS/Lottie JSON, WebM, GIFs, pack exports
cmds:
- poetry run pytest tests/backend/test_media_fuzzing.py -q
test:be:media-http:
desc: aiohttp integration tests for /api/v1/stickers, sticker-packs, and /api/v1/gifs
cmds:
- poetry run pytest tests/backend/test_media_http_api.py -q
test:fuzz:all:
desc: Vitest fuzzing tag plus backend media Hypothesis fuzz
deps: [test:be:media-fuzz]
cmds:
- "{{.NPM}} run test:fuzz"
test:fe:cov:
desc: Run frontend tests with line coverage (Vitest v8)
cmds: