add rules subdirectory support per-profile
This commit is contained in:
@@ -138,13 +138,9 @@ This references [dev_workflow.mdc](mdc:.cursor/rules/dev_workflow.mdc) and
|
||||
const writeCall = mockWriteFileSync.mock.calls[0];
|
||||
const transformedContent = writeCall[1];
|
||||
|
||||
// Verify transformations - files should now be in taskmaster subdirectory
|
||||
expect(transformedContent).toContain(
|
||||
'(.windsurf/rules/taskmaster/dev_workflow.md)'
|
||||
);
|
||||
expect(transformedContent).toContain(
|
||||
'(.windsurf/rules/taskmaster/taskmaster.md)'
|
||||
);
|
||||
// Verify transformations - no taskmaster subdirectory for Windsurf
|
||||
expect(transformedContent).toContain('(.windsurf/rules/dev_workflow.md)'); // File path transformation - no taskmaster subdirectory for Windsurf
|
||||
expect(transformedContent).toContain('(.windsurf/rules/taskmaster.md)'); // File path transformation - no taskmaster subdirectory for Windsurf
|
||||
expect(transformedContent).not.toContain('(mdc:.cursor/rules/');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user