mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 15:43:48 +00:00
Ensures correct results are returned for conditions and criteria for a given telemetry datapoint (#2904)
* Ensures that results for a specific datapoint are evaluated atomically. * Remove generating timestamp for telemetry data * Get results directly instead of using events * Refactor all/any telemetry criterion to use new evaluator * Use current timesystem to compare latest * AllTelemetryCriterion extends TelemetryCriterion Co-authored-by: David Tsay <david.e.tsay@nasa.gov> Co-authored-by: David Tsay <3614296+davetsay@users.noreply.github.com> Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -121,7 +121,7 @@ describe('ConditionManager', () => {
|
||||
conditionMgr = new ConditionManager(conditionSetDomainObject, openmct);
|
||||
|
||||
conditionMgr.on('conditionSetResultUpdated', mockListener);
|
||||
conditionMgr.on('broadcastTelemetry', mockListener);
|
||||
conditionMgr.on('telemetryReceived', mockListener);
|
||||
});
|
||||
|
||||
it('creates a conditionCollection with a default condition', function () {
|
||||
|
Reference in New Issue
Block a user