We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a01da6 commit 8a01446Copy full SHA for 8a01446
test/engine.test.js
@@ -93,7 +93,7 @@ describe('Engine', () => {
93
expect(engine.rules[0].conditions.all.length).to.equal(2)
94
expect(engine.rules[1].conditions.all.length).to.equal(2)
95
96
- rule1.conditions = { all: [] }
+ rule1.setConditions({ all: [] })
97
engine.updateRule(rule1)
98
99
rule1 = engine.rules.find(rule => rule.name === 'rule1')
0 commit comments