diff --git a/demo/golden/matrix.mjs b/demo/golden/matrix.mjs index 3fde57f5..0c0ca6a7 100644 --- a/demo/golden/matrix.mjs +++ b/demo/golden/matrix.mjs @@ -224,6 +224,7 @@ export const GOLDEN_SCENARIOS = Object.freeze([ theme: 'light', viewport: { width: 1000, height: 900 }, ...stage }, { id: 'vacuum-trail-smoothing-dark', fixture: 'visual', space: 'golden-geometry', mode: 'view', vacuumTrail: { + maxDeviationCm: 17.5, current: [ [[180, 220], [360, 220], [360, 420], [520, 420]], [[650, 240], [780, 240], [780, 500], [650, 620], [850, 760]], diff --git a/test/golden-matrix.test.mjs b/test/golden-matrix.test.mjs index 323c926d..4331da42 100644 --- a/test/golden-matrix.test.mjs +++ b/test/golden-matrix.test.mjs @@ -394,6 +394,7 @@ test('vacuum smoothing golden covers current gaps and the previous run', () => { const scenario = GOLDEN_SCENARIOS.find((item) => item.id === 'vacuum-trail-smoothing-dark'); assert.ok(scenario); assert.equal(scenario.mode, 'view'); + assert.equal(scenario.vacuumTrail?.maxDeviationCm, 17.5); assert.equal(scenario.vacuumTrail?.current.length, 2); assert.equal(scenario.vacuumTrail?.current.flat().length >= 8, true); assert.equal(scenario.vacuumTrail?.previous.length >= 4, true);