@@ -2,7 +2,6 @@ import { describe, expect, it } from "vite-plus/test";
22import { EnvironmentId , ThreadId } from "@t3tools/contracts" ;
33
44import {
5- peekPendingTerminalLaunch ,
65 resolvePreferredThreadWorktreePath ,
76 resolveTerminalOpenLocation ,
87 stagePendingTerminalLaunch ,
@@ -82,19 +81,13 @@ describe("pending terminal launches", () => {
8281 } ,
8382 } ) ;
8483
85- expect ( peekPendingTerminalLaunch ( target ) ) . toEqual ( {
86- cwd : "/repo/worktrees/feature" ,
87- worktreePath : "/repo/worktrees/feature" ,
88- env : { FOO : "bar" } ,
89- initialInput : "pnpm dev\r" ,
90- } ) ;
9184 expect ( takePendingTerminalLaunch ( target ) ) . toEqual ( {
9285 cwd : "/repo/worktrees/feature" ,
9386 worktreePath : "/repo/worktrees/feature" ,
9487 env : { FOO : "bar" } ,
9588 initialInput : "pnpm dev\r" ,
9689 } ) ;
97- expect ( peekPendingTerminalLaunch ( target ) ) . toBeNull ( ) ;
90+ expect ( takePendingTerminalLaunch ( target ) ) . toBeNull ( ) ;
9891 } ) ;
9992
10093 it ( "keeps pending launches isolated per terminal target" , ( ) => {
@@ -118,7 +111,6 @@ describe("pending terminal launches", () => {
118111 } ,
119112 } ) ;
120113
121- expect ( peekPendingTerminalLaunch ( otherTarget ) ) . toBeNull ( ) ;
122114 expect ( takePendingTerminalLaunch ( otherTarget ) ) . toBeNull ( ) ;
123115 expect ( takePendingTerminalLaunch ( primaryTarget ) ) . toEqual ( {
124116 cwd : "/repo/root" ,
0 commit comments