Some updates to fix tests

This commit is contained in:
Fosco Marotto
2016-02-01 11:35:20 -08:00
parent 5dc66fd8fa
commit 86e42976f9
2 changed files with 2 additions and 15 deletions

View File

@@ -114,13 +114,6 @@ describe('untransformObject', () => {
done();
});
it('null file', (done) => {
var input = {picture: null};
var output = transform.untransformObject(dummySchema, null, input);
expect(output.picture).toBeUndefined();
done();
});
it('geopoint', (done) => {
var input = {location: [180, -180]};
var output = transform.untransformObject(dummySchema, null, input);
@@ -131,12 +124,6 @@ describe('untransformObject', () => {
done();
});
it('null geopoint', (done) => {
var input = {location: null};
var output = transform.untransformObject(dummySchema, null, input);
expect(output.location).toBeUndefined();
done();
});
});
describe('transformKey', () => {