Fix flaky test

This commit is contained in:
Drew Gross
2016-03-24 19:48:41 -07:00
parent 7738d33399
commit b8b86264f9

View File

@@ -151,7 +151,7 @@ describe('matchesQuery', function() {
q = new Parse.Query('Person');
q.equalTo('birthday', day);
expect(matchesQuery(obj, q)).toBe(true);
q.equalTo('birthday', new Date());
q.equalTo('birthday', new Date(1990, 1));
expect(matchesQuery(obj, q)).toBe(false);
q = new Parse.Query('Person');