From 0a683c097d97b4b946b136f1d868e8fc17dfa3b2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Jun 2026 22:29:57 +1000 Subject: [PATCH] test: de-brittle /health version assertion (was pinned to stale alpha-6) Co-Authored-By: Claude Opus 4.8 --- tests/server.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/server.test.js b/tests/server.test.js index e08f122..a3a1948 100644 --- a/tests/server.test.js +++ b/tests/server.test.js @@ -17,7 +17,7 @@ describe('server', () => { const res = await request(app).get('/health'); expect(res.status).toBe(200); expect(res.body.db_ok).toBe(true); - expect(res.body.version).toBe('2.0.0-alpha.6'); + expect(res.body.version).toMatch(/^\d+\.\d+\.\d+/); }); it('GET /api/spaces without token returns 401', async () => {