fix(gnore): Onboarding fixes (#26824)

This commit is contained in:
Nerivec
2025-03-22 16:11:06 +01:00
committed by GitHub
parent 0714582eb9
commit f2a1c9a2be
3 changed files with 3 additions and 8 deletions
+2 -2
View File
@@ -288,7 +288,7 @@ describe('Onboarding', () => {
expect(resEnd).toHaveBeenCalledTimes(2);
}
const serverUrl = new URL(process.env.Z2M_ONBOARD_URL ?? 'http://localhost:8080');
const serverUrl = new URL(process.env.Z2M_ONBOARD_URL ?? 'http://0.0.0.0:8080');
expect(mockHttpListen).toHaveBeenCalledWith(parseInt(serverUrl.port), serverUrl.hostname, expect.any(Function));
return [resEnd.mock.calls[0][0], resEnd.mock.calls[1][0]];
@@ -346,7 +346,7 @@ describe('Onboarding', () => {
expect(resEnd).toHaveBeenCalledTimes(2);
const serverUrl = new URL(process.env.Z2M_ONBOARD_URL ?? 'http://localhost:8080');
const serverUrl = new URL(process.env.Z2M_ONBOARD_URL ?? 'http://0.0.0.0:8080');
expect(mockHttpListen).toHaveBeenCalledWith(parseInt(serverUrl.port), serverUrl.hostname, expect.any(Function));
return resEnd.mock.calls[0][0];