Ver Fonte

Fix tests

cte há 10 meses atrás
pai
commit
f685932d63

+ 2 - 0
src/services/checkpoints/__tests__/ShadowCheckpointService.test.ts

@@ -710,6 +710,8 @@ describe("ShadowCheckpointService", () => {
 			// Create git repo without adding the specific branch
 			// Create git repo without adding the specific branch
 			const git = simpleGit(workspaceRepoDir)
 			const git = simpleGit(workspaceRepoDir)
 			await git.init()
 			await git.init()
+			await git.addConfig("user.name", "Roo Code")
+			await git.addConfig("user.email", "[email protected]")
 
 
 			// We need to create a commit, but we won't create the specific branch
 			// We need to create a commit, but we won't create the specific branch
 			const testFile = path.join(workspaceRepoDir, "test.txt")
 			const testFile = path.join(workspaceRepoDir, "test.txt")