fix: Host API port conflict crashing startup on Windows (#743)
This commit is contained in:
committed by
GitHub
Unverified
parent
06266cb4d2
commit
7e2c4d3835
@@ -64,7 +64,7 @@ describe('host-api', () => {
|
||||
|
||||
expect(result.fallback).toBe(true);
|
||||
expect(fetchMock).toHaveBeenCalledWith(
|
||||
'http://127.0.0.1:3210/api/test',
|
||||
'http://127.0.0.1:13210/api/test',
|
||||
expect.objectContaining({ headers: expect.any(Object) }),
|
||||
);
|
||||
});
|
||||
@@ -97,7 +97,7 @@ describe('host-api', () => {
|
||||
|
||||
expect(result.fallback).toBe(true);
|
||||
expect(fetchMock).toHaveBeenCalledWith(
|
||||
'http://127.0.0.1:3210/api/test',
|
||||
'http://127.0.0.1:13210/api/test',
|
||||
expect.objectContaining({ headers: expect.any(Object) }),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user