From 84b2c9ebc9fa3577ce846be1bc2cfc639775d0cd Mon Sep 17 00:00:00 2001 From: MrSphay Date: Sat, 4 Jul 2026 12:27:57 +0200 Subject: [PATCH] test: assert hashed prediction identifier format --- test/intelligence-store.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/intelligence-store.test.mjs b/test/intelligence-store.test.mjs index 183a719..8ebd328 100644 --- a/test/intelligence-store.test.mjs +++ b/test/intelligence-store.test.mjs @@ -40,5 +40,5 @@ test('records LLM ideas as stable predictions', async (t) => { assert.equal(result.available, true); assert.equal(result.predictions.length, 1); assert.equal(result.predictions[0].title, 'Gold safe-haven hedge'); - assert.match(result.predictions[0].stable_id, /^prediction-/); + assert.match(result.predictions[0].stable_id, /^[a-f0-9]{24}$/); });