Update test cases to use PAN fader parameter instead of REL for automation testing

This commit is contained in:
2026-07-14 10:47:57 +02:00
parent 95d670d28f
commit 2008841889
2 changed files with 4 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ const occurrence: AblGroupPatternOccurrence = {
timeSignature: { numerator: 4, denominator: 4 },
faderParams,
faderAutomation: [
{ parameter: FaderParam.REL, position: 96, value: 0.75, flags: 0 },
{ parameter: FaderParam.PAN, position: 96, value: 0.75, flags: 0 },
{ parameter: FaderParam.VEL, position: 192, value: 0.5, flags: 0 },
],
};
@@ -58,7 +58,7 @@ test('preserves each pad pitch offset while applying group PTC automation', () =
test('tiles arrangement automation across the scene length', () => {
const envelopes = buildArrangementEnvelopes(
[occurrence],
{ [FaderParam.REL]: [{ arrangement: 22000 }] },
{ [FaderParam.PAN]: [{ arrangement: 22000 }] },
track,
false,
);
@@ -77,7 +77,7 @@ test('tiles arrangement automation across the scene length', () => {
test('uses absolute automation targets for Session clip envelopes', () => {
const envelopes = buildClipEnvelopes(
occurrence,
{ [FaderParam.REL]: [{ session: 23000 }] },
{ [FaderParam.PAN]: [{ session: 23000 }] },
track,
false,
);

View File

@@ -239,9 +239,7 @@ test('serializes nested Live 10 Simplers without artificial empty Session clips'
(match) => match[0],
);
assert.ok(
simplerBlocks.every((simpler) =>
/<FadeInTime>[\s\S]*?<Manual Value="0"\s*\/>/.test(simpler),
),
simplerBlocks.every((simpler) => /<FadeInTime>[\s\S]*?<Manual Value="0"\s*\/>/.test(simpler)),
);
assert.ok(
simplerBlocks.every((simpler) =>