mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-08-29 01:08:59 +00:00
FIX - align NUI test server port
Update the NUI callback test to assert the configured development API default port.\n\nThis restores test coverage after the dev merge changed the test-server default to port 3001.
This commit is contained in:
@@ -34,7 +34,7 @@ describe('nuiCall', () => {
|
||||
})
|
||||
expect(vi.getTimerCount()).toBe(0)
|
||||
expect(fetchMock).toHaveBeenCalledWith(
|
||||
'http://localhost:3002/api/test',
|
||||
'http://localhost:3001/api/test',
|
||||
expect.objectContaining({ signal: expect.any(AbortSignal) }),
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user