mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 18:06:59 +00:00
Changes name of emitted event
This commit is contained in:
parent
fe3cc661d3
commit
36055b7c04
@ -52,7 +52,7 @@ export default class TelemetryCriterion extends EventEmitter {
|
||||
}
|
||||
|
||||
emitResult(data, error) {
|
||||
this.emit('criterion::Update', {
|
||||
this.emit('criterionUpdated', {
|
||||
identifier: this.telemetryObjectIdAsString,
|
||||
data: data,
|
||||
error: error
|
||||
|
@ -58,7 +58,7 @@ describe("The telemetry criterion", function () {
|
||||
openmct
|
||||
);
|
||||
|
||||
telemetryCriterion.on('criterion::Update', mockListener);
|
||||
telemetryCriterion.on('criterionUpdated', mockListener);
|
||||
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user