Skip to content

Commit cc3a1f3

Browse files
committed
Fix backup directory detection in CI tests
- Change backup detection to use startsWith('.claude.backup-') for exact match - This should fix the backup test that was failing to find backup directories
1 parent 95b7925 commit cc3a1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

claude-config-composer/tests/integration/cli.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe('CLI Integration Tests', () => {
140140

141141
// Check that backup was created
142142
const files = await fs.readdir(testDir);
143-
const backupDir = files.find(f => f.includes('.backup-'));
143+
const backupDir = files.find(f => f.startsWith('.claude.backup-'));
144144
expect(backupDir).toBeDefined();
145145

146146
if (backupDir) {

0 commit comments

Comments
 (0)