test: update batch URL assertion to match absolute backend URL
This commit is contained in:
parent
b47e37f39b
commit
523b27bb58
|
|
@ -265,7 +265,7 @@ describe('ResponsePanel', () => {
|
|||
await waitFor(() => {
|
||||
expect(mockFetch).toHaveBeenCalledTimes(1)
|
||||
expect(mockFetch).toHaveBeenCalledWith(
|
||||
'/api/v1/v2/highlights/batch',
|
||||
'http://localhost:8000/api/v1/v2/highlights/batch',
|
||||
expect.objectContaining({
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue