Skip to content

Commit 1cf4fdd

Browse files
tbetousmistral-vibe
andcommitted
test: add Mistral Vibe detection regression test
Add focused regression test that proves Vibe initializes and detects skills under .vibe/skills so the path semantics do not drift. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 86a5b22 commit 1cf4fdd

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

test/core/available-tools.test.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,20 @@ describe('available-tools', () => {
148148
const toolValues = tools.map((t) => t.value);
149149
expect(toolValues).toContain('claude');
150150
});
151+
152+
it('should detect Mistral Vibe when .vibe directory exists', async () => {
153+
// Mistral Vibe uses skillsDir: '.vibe' without detectionPaths
154+
// This test ensures path semantics do not drift for Vibe skill detection
155+
await fs.mkdir(path.join(testDir, '.vibe'), { recursive: true });
156+
157+
const tools = getAvailableTools(testDir);
158+
const toolValues = tools.map((t) => t.value);
159+
expect(toolValues).toContain('vibe');
160+
161+
const vibeTool = tools.find((t) => t.value === 'vibe');
162+
expect(vibeTool).toBeDefined();
163+
expect(vibeTool?.name).toBe('Mistral Vibe');
164+
expect(vibeTool?.skillsDir).toBe('.vibe');
165+
});
151166
});
152167
});

0 commit comments

Comments
 (0)