mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 14:07:50 +00:00
Merge branch 'condition-ui' of https://github.com/nasa/openmct into set-criteria-options
This commit is contained in:
commit
6f6fb859d6
@ -65,7 +65,7 @@ describe("The condition", function () {
|
||||
|
||||
testConditionDefinition = {
|
||||
definition: {
|
||||
trigger: 'any',
|
||||
trigger: TRIGGER.ANY,
|
||||
criteria: [
|
||||
{
|
||||
operation: 'equalTo',
|
||||
@ -103,7 +103,6 @@ describe("The condition", function () {
|
||||
it("initializes with criteria from the condition definition", function () {
|
||||
expect(conditionObj.criteria.length).toEqual(1);
|
||||
let criterion = conditionObj.criteria[0];
|
||||
console.log(criterion);
|
||||
expect(criterion instanceof TelemetryCriterion).toBeTrue();
|
||||
expect(criterion.operator).toEqual(testConditionDefinition.definition.criteria[0].operator);
|
||||
expect(criterion.input).toEqual(testConditionDefinition.definition.criteria[0].input);
|
||||
|
Loading…
Reference in New Issue
Block a user