Explorar el Código

fix(preset): add module-state teardown in tracks-active-preset test

ReqX hace 3 meses
padre
commit
890d64bafc
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/tools/preset-manager.test.ts

+ 3 - 0
src/tools/preset-manager.test.ts

@@ -542,6 +542,9 @@ describe('createPresetManager', () => {
         output4,
       );
       expect(getOutputText(output4)).toContain('powerful ← active');
+
+      // Cleanup module state
+      setActiveRuntimePreset(null);
     });
   });