Skip to content

Commit

Permalink
#11 some tests for failing travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mavarazy committed Sep 4, 2017
1 parent 9d8ca83 commit 40861ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/validation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ test("invalid field NOT or", () => {
},
]);

expect(listInvalidPredicates(invalidFieldNotWithOr, defSchema)).toEqual([
"or",
]);
expect(() => validatePredicates(invalidFieldNotWithOr, defSchema)).toThrow();
});

Expand Down

0 comments on commit 40861ec

Please sign in to comment.