← back to Stars of Design
smoke: uptime_s + counts.designers assertions on /api/health
90ada6d62a4cd735b95c739ece4244e620a33b4c · 2026-05-13 09:59:55 -0700 · Steve Abrams
Files touched
Diff
commit 90ada6d62a4cd735b95c739ece4244e620a33b4c
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed May 13 09:59:55 2026 -0700
smoke: uptime_s + counts.designers assertions on /api/health
---
test/smoke.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/smoke.js b/test/smoke.js
index db1c01f..66c2b50 100644
--- a/test/smoke.js
+++ b/test/smoke.js
@@ -103,6 +103,8 @@ function check(name, cond, hint = '') {
r = await fetch('/api/health');
check('api/health: 200', r.status === 200);
check('api/health: ok', /"ok":true/.test(r.body));
+ check('api/health: uptime_s', /"uptime_s":\d+/.test(r.body));
+ check('api/health: counts.designers',/"designers":\d+/.test(r.body));
// 8b. /api/stats
r = await fetch('/api/stats');
← eef66c3 api/health: include counts (designers/firms) + uptime_s + as
·
back to Stars of Design
·
api/version: deploy fingerprint endpoint (asim parity) 49fd5af →