Merge pull request #1188 from drew-gross/fix-flaky-test

Fix flaky test
This commit is contained in:
Florent Vilmart
2016-03-25 08:24:09 -04:00

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');