Story 3.3 done

This commit is contained in:
2026-05-25 10:32:49 +02:00
parent 7b56d62563
commit 748c7d7f85
12 changed files with 451 additions and 105 deletions
@@ -340,9 +340,8 @@ describe('PresetImportExportManager', () => {
const result = await manager.importPresets(JSON.stringify(importData), 'merge');
// With the current implementation, invalid presets are reported in errors
// but the operation continues with valid presets
expect(result.success).toBe(true); // Valid preset was imported
// Invalid presets produce extraction errors; valid presets still import
expect(result.success).toBe(false); // Extraction errors present
expect(result.added).toBe(1); // One valid preset added
expect(result.errors.length).toBeGreaterThan(0);
expect(result.errors.some(e => e.includes('Invalid Preset'))).toBe(true);