Skip to content

Commit 813281b

Browse files
committed
Update test for invalid root conditions
1 parent b6a8976 commit 813281b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rule.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ describe('Rule', () => {
109109
describe('setConditions()', () => {
110110
describe('validations', () => {
111111
it('throws an exception for invalid root conditions', () => {
112-
expect(rule.setConditions.bind(rule, { foo: true })).to.throw(/"conditions" root must contain a single instance of "all" or "any"/)
112+
expect(rule.setConditions.bind(rule, { foo: true })).to.throw(/"conditions" root must contain a single instance of "all", "any", or "not"/)
113113
})
114114
})
115115
})

0 commit comments

Comments
 (0)