Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: name malformed report date coverage accurately (#4880)

Adam Eivy07e1183c8548
diff --git a/server/routes/cos.test.js b/server/routes/cos.test.js
index 9cf752b3ca..b763236d6a 100644
--- a/server/routes/cos.test.js
+++ b/server/routes/cos.test.js
@@ -812,7 +812,7 @@ describe('CoS Routes', () => {
expect(response.status).toBe(404);
});
- it('should reject traversal-shaped dates before reading the report', async () => {
+ it('should reject malformed dates before reading the report', async () => {
const response = await request(app).get('/api/cos/reports/not-a-date');
expect(response.status).toBe(400);
@@ -1632,7 +1632,7 @@ describe('CoS Routes', () => {
expect(response.status).toBe(404);
});
- it('should reject traversal-shaped dates before reading the briefing', async () => {
+ it('should reject malformed dates before reading the briefing', async () => {
const response = await request(app).get('/api/cos/briefings/not-a-date');
expect(response.status).toBe(400);