Skip to content

Commit 12a1df2

Browse files
PR Batch Testerclaude
andcommitted
test(desktop): stub prepareWebview in the window tests' preview manager
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 8a90651 commit 12a1df2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/desktop/src/window/DesktopWindow.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ function makeTestLayer(input: {
314314
Layer.mock(PreviewManager.PreviewManager)({
315315
getBrowserSession: () => Effect.succeed({} as Electron.Session),
316316
setMainWindow: () => Effect.void,
317+
prepareWebview: () => Effect.void,
317318
isBrowserPartition: (partition) => partition.startsWith("persist:t3code-preview-"),
318319
getBrowserPartition: () => Effect.succeed("persist:t3code-preview-test"),
319320
reapplyZoom: () =>

0 commit comments

Comments
 (0)