From bfaf277f5f1df18c81948ed09c484263d63bc787 Mon Sep 17 00:00:00 2001 From: Type <79042381+TypeFor@users.noreply.github.com> Date: Thu, 13 Aug 2026 11:50:53 +0200 Subject: [PATCH] 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. --- frontend/src/utils/nui.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/nui.test.ts b/frontend/src/utils/nui.test.ts index 39dc5e2..a05e2c7 100644 --- a/frontend/src/utils/nui.test.ts +++ b/frontend/src/utils/nui.test.ts @@ -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) }), ) })