test: assert hashed prediction identifier format
All checks were successful
Codex Template Compliance / template-compliance (pull_request) Successful in 9s
Build / test-and-image (pull_request) Successful in 51s

This commit is contained in:
2026-07-04 12:27:57 +02:00
parent 9263157a9e
commit 84b2c9ebc9

View File

@@ -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}$/);
});