| author | |
| committer | |
| log | 69e38a25c395ef2856adb6a99f322a1e19792e9a |
| tree | 5ac3a3579e22c2b432953ef4192f77b0899f6127 |
| parent | 59448593d8e6b067e1691150f1925107114f3cc7 |
Add non-null assertion for activeProject in worktree creation path
(guarded by earlier check) and add missing branch/worktreePath to
test fixture.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 files changed, 2 insertions(+), 0 deletions(-)
apps/web/src/persistenceSchema.test.ts+2| ... | @@ -134,6 +134,8 @@ describe("toPersistedState", () => { | ... | @@ -134,6 +134,8 @@ describe("toPersistedState", () => { |
| 134 | events: [], | 134 | events: [], |
| 135 | error: "boom", | 135 | error: "boom", |
| 136 | createdAt: "2026-02-08T10:00:00.000Z", | 136 | createdAt: "2026-02-08T10:00:00.000Z", |
| 137 | branch: null, | ||
| 138 | worktreePath: null, | ||
| 137 | }; | 139 | }; |
| 138 | 140 | ||
| 139 | const persisted = toPersistedState({ | 141 | const persisted = toPersistedState({ |