Fix serializeModulation field names; add mod:base test assertion
This commit is contained in:
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user