Fixed tests and some undefined value handling.

This commit is contained in:
Fosco Marotto
2016-02-03 00:02:54 -08:00
parent 4a787654d9
commit 190dc5eb75
3 changed files with 5 additions and 1 deletions

View File

@@ -1336,7 +1336,7 @@ describe('Parse.User testing', () => {
var b = JSON.parse(body);
expect(b.results.length).toEqual(1);
var user = b.results[0];
expect(Object.keys(user).length).toEqual(5);
expect(Object.keys(user).length).toEqual(6);
done();
});
});