This commit is contained in:
KS Jannette
2026-02-13 10:50:30 -05:00
parent 6b7324c320
commit ba53830c78
3 changed files with 1752 additions and 3 deletions

1749
backend/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,6 +16,8 @@
"express": "^4.21.2"
},
"devDependencies": {
"nodemon": "^3.1.9"
"nodemon": "^3.1.9",
"supertest": "^7.2.2",
"vitest": "^4.0.18"
}
}

View File

@@ -121,7 +121,7 @@ describe('POST /v1/notes/cluster', () => {
expect(res.status).toBe(500);
expect(res.body).toHaveProperty('error');
expect(res.body.error).toBe('Clustering failed');
expect(res.body.error).toMatch(/^Clustering failed/);
});
it('should return 500 when the data file cannot be read', async () => {