Skip to content

Commit bc738de

Browse files
committed
fix test
1 parent 98ed618 commit bc738de

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

‎packages/trueforge/tests/unit/apis/sessionHttp.test.ts‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -211,19 +211,6 @@ describe('sessions HTTP agent binding', () => {
211211
]);
212212
});
213213

214-
it('returns 404 for session metrics when the agent does not exist', async () => {
215-
const query = new URLSearchParams({
216-
agent_id: 'missing-agent',
217-
start_timestamp: '2026-08-27T00:00:00.000Z',
218-
end_timestamp: '2026-08-28T00:00:00.000Z',
219-
});
220-
221-
const response = await app.request(`/internal/metrics/meters?${query.toString()}`);
222-
223-
expect(response.status).toBe(404);
224-
expect(await response.json()).toEqual({ error: { message: 'Agent not found: missing-agent' } });
225-
});
226-
227214
it('rejects session metrics windows longer than 30 days', async () => {
228215
const query = new URLSearchParams({
229216
agent_id: 'agent-1',

0 commit comments

Comments
 (0)