fix(desktop): call handleBackendReady with URL in off-origin nav test
The merge combined our handleBackendReady(httpBaseUrl) signature change with an upstream-added test that still yielded it as a bare Effect. Pass the resolved URL like the other call site so the merged test typechecks against the function form.
This commit is contained in:
1 parent
ae03db4f47
commit
993261f53f
1 file changed
+1
-1
@@ -219,7 +219,7 @@ describe("DesktopWindow", () => {
|
||||
|
||||
yield* Effect.gen(function* () {
|
||||
const desktopWindow = yield* DesktopWindow.DesktopWindow;
|
||||
yield* desktopWindow.handleBackendReady;
|
||||
yield* desktopWindow.handleBackendReady(new URL("http://127.0.0.1:3773"));
|
||||
|
||||
const willNavigate = fakeWindow.webContentsListeners.get("will-navigate");
|
||||
if (!willNavigate) {
|
||||
|
||||
Reference in new issue
Block a user