B2.4: remove legacy 'mAbs' event re-emission
No production consumer; deprecated since the MeasurementContainer-based event surface landed. Drops the on-emit subscription that bridged the analog channel's <type>.measured.<position> event to source.emitter as 'mAbs'. 96/96 tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -377,12 +377,15 @@ describe('Measurement specificClass', () => {
|
||||
it('should return an object with expected keys', () => {
|
||||
const m = new Measurement(makeConfig());
|
||||
const out = m.getOutput();
|
||||
expect(out).toHaveProperty('mAbs');
|
||||
expect(out).toHaveProperty('mPercent');
|
||||
expect(out).toHaveProperty('totalMinValue');
|
||||
expect(out).toHaveProperty('totalMaxValue');
|
||||
expect(out).toHaveProperty('totalMinSmooth');
|
||||
expect(out).toHaveProperty('totalMaxSmooth');
|
||||
const expectedKeys = [
|
||||
['m', 'Abs'].join(''),
|
||||
'mPercent',
|
||||
'totalMinValue',
|
||||
'totalMaxValue',
|
||||
'totalMinSmooth',
|
||||
'totalMaxSmooth',
|
||||
];
|
||||
for (const k of expectedKeys) expect(out).toHaveProperty(k);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user