File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ describe("git worktree", () => {
1414 let testDir : string ;
1515 let worktreePath : string ;
1616
17- if ( isCI ) return ;
18-
1917 beforeAll ( async ( ) => {
2018 // Initialize test host for the GenAIScript runtime
2119 TestHost . install ( ) ;
@@ -56,6 +54,7 @@ describe("git worktree", () => {
5654 } ) ;
5755
5856 test ( "should list existing worktrees" , async ( ) => {
57+ if ( isCI ) return ;
5958 const worktrees = await gitClient . listWorktrees ( ) ;
6059 expect ( Array . isArray ( worktrees ) ) . toBe ( true ) ;
6160
@@ -67,6 +66,7 @@ describe("git worktree", () => {
6766 } ) ;
6867
6968 test ( "should add and remove a worktree" , async ( ) => {
69+ if ( isCI ) return ;
7070 // Use main branch instead of current branch to avoid conflicts
7171 const mainBranch = "origin/test-ignore" ;
7272
@@ -90,6 +90,7 @@ describe("git worktree", () => {
9090 } ) ;
9191
9292 test ( "should add worktree with branch option" , async ( ) => {
93+ if ( isCI ) return ;
9394 const newBranchName = `test-worktree-branch-${ Date . now ( ) } ` ;
9495
9596 try {
You can’t perform that action at this time.
0 commit comments