Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions apps/desktop/src/updates/DesktopUpdates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ function makeHarness(options: UpdatesHarnessOptions = {}) {
};
const setUpdateChannelError = options.setUpdateChannelError;
const settingsLayer =
setUpdateChannelError || options.beforeSetUpdateChannel
setUpdateChannelError ||
options.beforeSetUpdateChannel ||
options.localNightliesEnabled !== undefined
? Layer.succeed(DesktopAppSettings.DesktopAppSettings, {
get: Effect.sync(() => testSettings),
load: Effect.sync(() => testSettings),
Expand Down Expand Up @@ -1161,9 +1163,14 @@ describe("DesktopUpdates", () => {
const installStarted = yield* Deferred.make<void>();
const releaseInstall = yield* Deferred.make<void>();
const harness = makeHarness({
stopBackend: Deferred.succeed(installStarted, undefined).pipe(
Effect.andThen(Deferred.await(releaseInstall)),
),
backends: [
{
desiredRunning: true,
stop: Deferred.succeed(installStarted, undefined).pipe(
Effect.andThen(Deferred.await(releaseInstall)),
),
},
],
});

yield* Effect.scoped(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ describe("deriveMessagesTimelineRows", () => {
kind: "working",
id: "working-indicator-row",
createdAt: "2026-01-01T00:01:00Z",
showThinking: true,
},
]);
});
Expand Down