docs(api): deprecate report routes and document migration compatibility

This commit is contained in:
Mike Cao committed 2026-09-09 19:28:03 -07:00
1 parent 7c4406bad0
commit 4fbaa5300d
46 files changed
+564 -72

No files matched your search

+1 -1
View File
@@ -424,7 +424,7 @@ describe('createUmamiMcpServer', () => {
expect(init?.method).toBe('GET');
expect(init?.body).toBeUndefined();
expect(url.pathname).toBe(`/api/websites/${WEBSITE_ID}/funnels/stats`);
expect(JSON.parse(url.searchParams.get('steps')!)).toHaveLength(2);
expect(JSON.parse(url.searchParams.get('steps') ?? 'null')).toHaveLength(2);
expect(url.searchParams.get('window')).toBe('60');
expect(Number(url.searchParams.get('startAt'))).toBeGreaterThan(0);
});