Skip to content

Commit 40861ec

Browse files
committed
#11 some tests for failing travis
1 parent 9d8ca83 commit 40861ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/validation.test.js

+3
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ test("invalid field NOT or", () => {
188188
},
189189
]);
190190

191+
expect(listInvalidPredicates(invalidFieldNotWithOr, defSchema)).toEqual([
192+
"or",
193+
]);
191194
expect(() => validatePredicates(invalidFieldNotWithOr, defSchema)).toThrow();
192195
});
193196

0 commit comments

Comments
 (0)