← back to AsSeenInMovies
asseeninmovies: smoke +2 /api/spotted/random checks. 59/59.
ee14e9d9cd419d4a0fa15a33c4eb8a3e522ce4b5 · 2026-05-13 06:13:47 -0700 · SteveStudio2
Files touched
Diff
commit ee14e9d9cd419d4a0fa15a33c4eb8a3e522ce4b5
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Wed May 13 06:13:47 2026 -0700
asseeninmovies: smoke +2 /api/spotted/random checks. 59/59.
---
test/smoke.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/smoke.js b/test/smoke.js
index 7cdd140..47f0785 100644
--- a/test/smoke.js
+++ b/test/smoke.js
@@ -117,6 +117,11 @@ function check(name, cond, hint = '') {
check('api/spotted/stats: 200', r.status === 200);
check('api/spotted/stats: live_total field', /"live_total":/.test(r.body));
+ // 11b. /api/spotted/random
+ r = await fetch('/api/spotted/random');
+ check('api/spotted/random: 200', r.status === 200);
+ check('api/spotted/random: spotted field', /"spotted":\{/.test(r.body));
+
// 12. /random/movie + /random/person
r = await fetch('/random/movie');
check('random/movie: 302', r.status === 302);
← 11f5c83 asseeninmovies: /api discovery doc — list /api/spotted/rando
·
back to AsSeenInMovies
·
asseeninmovies: GET /random/spotted — 302 to a random verifi 921ea62 →