use taskmaster subfolder for the 2 TM rules

This commit is contained in:
Joe Danziger
2025-06-04 14:11:01 -04:00
parent 09e2c23b19
commit 35022088b7
8 changed files with 187 additions and 74 deletions

View File

@@ -137,11 +137,13 @@ This references [dev_workflow.mdc](mdc:.cursor/rules/dev_workflow.mdc) and
const writeCall = mockWriteFileSync.mock.calls[0];
const transformedContent = writeCall[1];
// Verify transformations (Cursor should keep the same references)
// Verify transformations (Cursor should keep the same references but in taskmaster subdirectory)
expect(transformedContent).toContain(
'(mdc:.cursor/rules/dev_workflow.mdc)'
'(mdc:.cursor/rules/taskmaster/dev_workflow.mdc)'
);
expect(transformedContent).toContain(
'(mdc:.cursor/rules/taskmaster/taskmaster.mdc)'
);
expect(transformedContent).toContain('(mdc:.cursor/rules/taskmaster.mdc)');
});
it('should handle file read errors', () => {