test: update batch URL assertion to match absolute backend URL

This commit is contained in:
Woody 2026-04-29 10:42:18 +08:00
parent b47e37f39b
commit 523b27bb58
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ describe('ResponsePanel', () => {
await waitFor(() => { await waitFor(() => {
expect(mockFetch).toHaveBeenCalledTimes(1) expect(mockFetch).toHaveBeenCalledTimes(1)
expect(mockFetch).toHaveBeenCalledWith( expect(mockFetch).toHaveBeenCalledWith(
'/api/v1/v2/highlights/batch', 'http://localhost:8000/api/v1/v2/highlights/batch',
expect.objectContaining({ expect.objectContaining({
method: 'POST', method: 'POST',
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json' },