Fix serializeModulation field names; add mod:base test assertion

This commit is contained in:
c0dev0id
2026-06-24 16:41:12 +02:00
parent e4b5cf6887
commit 89198ec37e
2 changed files with 7 additions and 6 deletions

View File

@@ -243,6 +243,7 @@ ok('FM shape start', fm?.shape?.start === '6' || fm?.shape?.start === 6);
fmInstr.isDirty = true;
const fmOut = exportInstrument(fmInstr);
ok('FM exported with [shape]', /FM:.*\[.*\]/.test(fmOut));
ok('FM exported with mod:base', /FM:.*;\d+:\d+/.test(fmOut));
// ── Summary ────────────────────────────────────────────────────────────────
console.log(`\n══ ${pass} passed, ${fail} failed ══\n`);