Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: use native dependency link paths on Windows (#8801)

[._.]/ Adam Eivy602fa5ae4e86
diff --git a/server/services/worktreeManager.test.js b/server/services/worktreeManager.test.js
index 52e87d99a5..073dab6215 100644
--- a/server/services/worktreeManager.test.js
+++ b/server/services/worktreeManager.test.js
@@ -184,7 +184,7 @@ describe('Worktree dependency preparation', () => {
stat.mockImplementation(missing);
readlink.mockImplementation(path => Promise.resolve(normalize(path).includes('/server/')
? join('/foreign', 'node_modules')
- : normalize(path).replace('/worktree/', '/repo/')));
+ : path.replace('worktree', 'repo')));
await unlinkWorktreeDependencies('/repo', '/worktree');