Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ vi.mock("../../state/use-atom-command", () => ({
useAtomCommand: () => mocks.updateSettings,
}));
vi.mock("../threads/thread-settings-options", () => ({ RUNTIME_MODE_CHOICES: [] }));
vi.mock("../../components/ScreenScrollView", () => ({ ScreenScrollView: Children }));
vi.mock("../../components/AppText", () => ({ AppText: Children }));
vi.mock("../../components/ui/ScreenScrollView", () => ({ ScreenScrollView: Children }));
vi.mock("../../components/ui/AppText", () => ({ AppText: Children }));
vi.mock("./components/SettingsScreen", () => ({ SettingsScreen: Children }));
vi.mock("./components/SettingsEnvironmentFilterHeader", () => ({
AndroidSettingsEnvironmentFilter: () => null,
SettingsEnvironmentFilterHeader: () => null,
}));
vi.mock("./components/SettingsSection", () => ({ SettingsSection: Children }));
vi.mock("./components/DatabaseStorageNotice", () => ({ DatabaseStorageNotice: () => null }));
vi.mock("./components/SettingsChoiceRow", () => ({ SettingsChoiceRow: () => null }));
vi.mock("./components/SettingsSwitchRow", () => ({ SettingsSwitchRow: () => null }));
vi.mock("./components/SettingsRow", () => ({ SettingsRow: () => null }));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const inputs = vi.hoisted(() => new Map<string, InputProps>());
vi.mock("react-native", () => ({
View: ({ children }: { children: ReactNode }) => <div>{children}</div>,
}));
vi.mock("../../../components/AppText", () => ({
vi.mock("../../../components/ui/AppText", () => ({
AppText: ({ children }: { children: ReactNode }) => <span>{children}</span>,
AppTextInput: (props: InputProps) => {
inputs.set(props.accessibilityLabel, props);
Expand Down
6 changes: 3 additions & 3 deletions apps/mobile/src/lib/threadActivity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2820,13 +2820,13 @@ describe("html renders", () => {
expect(expanded.map((entry) => entry.type)).toEqual([
"message",
"run-fold",
"work-toggle",
"activity-group",
"html-render",
"work-toggle",
"activity-group",
"message",
]);
expect(expanded[3]).toMatchObject({ type: "html-render", render: page, runId });
expect(expanded[2]?.continuesWorkLog).toBeUndefined();
expect(expanded[2]?.continuesWorkLog).toBe(true);
});

it("keeps a render visible and in order when its run folds", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import * as Path from "effect/Path";
import * as Stream from "effect/Stream";
import * as Layer from "effect/Layer";
import * as PlatformError from "effect/PlatformError";
import * as Path from "effect/Path";
import * as Schema from "effect/Schema";
import * as ChildProcessSpawner from "effect/process/ChildProcessSpawner";
import type * as EffectAcpSchema from "effect-acp/compat";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ it.effect("a persisted fork leaves PR watching with its parent until explicitly
watching: false,
});
const stoppedFork = yield* orchestrator.getThreadShell(targetThreadId);
assert.deepEqual(stoppedFork?.pullRequests, fork.pullRequests);
const forkLink = fork.pullRequests?.[0];
const endedWatch = watchingFork.pullRequests?.[0]?.watch;
assert.isDefined(forkLink);
assert.isDefined(endedWatch);
assert.deepEqual(stoppedFork?.pullRequests, [{ ...forkLink, endedWatch }]);
assert.deepEqual(stoppedFork?.pendingBackgroundTasks, []);
assert.deepEqual(yield* orchestrator.getThreadShell(sourceThreadId), parentBefore);
}).pipe(Effect.provide(forkCases[0]!.layer)),
Expand Down
2 changes: 2 additions & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,15 @@
"@types/mdast": "^4.0.4",
"@types/react": "~19.3.0",
"@types/react-dom": "~19.2.3",
"@types/react-test-renderer": "19.1.0",
"@types/use-sync-external-store": "^0.0.6",
"@vercel/config": "^0.3.0",
"@vitejs/plugin-react": "^6.1.2",
"@vitest/browser-playwright": "5.0.1",
"compression": "^1.8.2",
"oxc-transform-react": "~0.152.0",
"playwright": "1.60.0",
"react-test-renderer": "19.2.6",
"tailwindcss": "^4.0.0",
"unified": "catalog:",
"vite": "catalog:",
Expand Down
17 changes: 17 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading