fix formatting

This commit is contained in:
Joe Danziger
2025-06-04 19:07:31 -04:00
parent b46dc794d9
commit a294a30342
3 changed files with 27 additions and 21 deletions

View File

@@ -40,8 +40,10 @@ describe('Rules Files Inclusion in Package', () => {
const rooJsPath = path.join(process.cwd(), 'scripts', 'profiles', 'roo.js');
const rooJsContent = fs.readFileSync(rooJsPath, 'utf8');
// Check for the main handler function
expect(rooJsContent.includes('onAddRulesProfile(targetDir, assetsDir)')).toBe(true);
// Check for the main handler function
expect(
rooJsContent.includes('onAddRulesProfile(targetDir, assetsDir)')
).toBe(true);
// Check for general recursive copy of assets/roocode
expect(
@@ -49,9 +51,7 @@ describe('Rules Files Inclusion in Package', () => {
).toBe(true);
// Check for updated path handling
expect(
rooJsContent.includes("path.join(assetsDir, 'roocode')")
).toBe(true);
expect(rooJsContent.includes("path.join(assetsDir, 'roocode')")).toBe(true);
// Check for .roomodes file copying logic (source and destination paths)
expect(rooJsContent.includes("path.join(sourceDir, '.roomodes')")).toBe(