Skip to content

Commit 3ca40c2

Browse files
committed
Fix windows tests
1 parent 228727e commit 3ca40c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/services/command/__tests__/frontmatter-commands.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ npm run build
4141
name: "setup",
4242
content: "# Setup Command\n\nRun the following commands:\n```bash\nnpm install\nnpm run build\n```",
4343
source: "project",
44-
filePath: "/test/cwd/.roo/commands/setup.md",
44+
filePath: path.join("/test/cwd", ".roo", "commands", "setup.md"),
4545
description: "Sets up the development environment",
4646
})
4747
})
@@ -64,7 +64,7 @@ npm run build
6464
name: "setup",
6565
content: "# Setup Command\n\nRun the following commands:\n```bash\nnpm install\nnpm run build\n```",
6666
source: "project",
67-
filePath: "/test/cwd/.roo/commands/setup.md",
67+
filePath: path.join("/test/cwd", ".roo", "commands", "setup.md"),
6868
description: undefined,
6969
})
7070
})
@@ -106,7 +106,7 @@ Command content here.`
106106
name: "setup",
107107
content: commandContent.trim(),
108108
source: "project",
109-
filePath: "/test/cwd/.roo/commands/setup.md",
109+
filePath: path.join("/test/cwd", ".roo", "commands", "setup.md"),
110110
description: undefined,
111111
})
112112
})
@@ -140,7 +140,7 @@ Global setup instructions.`
140140
name: "setup",
141141
content: "# Project Setup\n\nProject-specific setup instructions.",
142142
source: "project",
143-
filePath: "/test/cwd/.roo/commands/setup.md",
143+
filePath: path.join("/test/cwd", ".roo", "commands", "setup.md"),
144144
description: "Project-specific setup",
145145
})
146146
})

0 commit comments

Comments
 (0)