Skip to content

Commit e35f437

Browse files
committed
test(server): use platformAvailable in device host fakes
1 parent 8928e98 commit e35f437

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/device/DeviceMultiHost.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ it.effect("stops a start that fails after device support was turned off before i
221221
origin: "http://local",
222222
http: HttpClient.make(() => Effect.die("unused")),
223223
run,
224-
androidAvailable: Effect.succeed(true),
224+
platformAvailable: () => Effect.succeed(true),
225225
}),
226226
run,
227227
helpers: { serveSimAxSettings: null, serveSimCli: null },
@@ -315,7 +315,7 @@ const pausedHost = (
315315
),
316316
),
317317
run,
318-
androidAvailable: Effect.succeed(false),
318+
platformAvailable: () => Effect.succeed(false),
319319
}),
320320
agentDevice: null,
321321
run,

0 commit comments

Comments
 (0)