Skip to content

Commit c127aee

Browse files
nedtwiggclaude
andcommitted
Add missing getAvailableShells stub to session-save test mock
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c62509a commit c127aee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/src/lib/session-save.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function createPlatform(savedState: PersistedSession | null): PlatformAdapter {
2424
writePty: () => {},
2525
resizePty: () => {},
2626
killPty: () => {},
27+
getAvailableShells: vi.fn(async () => []),
2728
getCwd: vi.fn(async () => '/tmp/live'),
2829
getScrollback: vi.fn(async () => 'echo hello\n'),
2930
onPtyData: () => {},

0 commit comments

Comments
 (0)