Add strip whitespace and trailing eol to spec too. (#3159)

This commit is contained in:
Arthur Cinader
2016-12-01 18:45:49 -08:00
committed by Florent Vilmart
parent 8359284329
commit 37daafc7b0
19 changed files with 38 additions and 36 deletions

View File

@@ -242,7 +242,7 @@ describe('parseObjectToMongoObjectForCreate', () => {
};
var output = transform.parseObjectToMongoObjectForCreate(null, input, {
fields: {
aRelation: { __type: 'Relation', className: 'Stuff' },
aRelation: { __type: 'Relation', className: 'Stuff' },
},
});
expect(output).toEqual({});
@@ -302,7 +302,7 @@ describe('transformUpdate', () => {
};
var output = transform.transformUpdate(null, input, {
fields: {
aRelation: { __type: 'Relation', className: 'Stuff' },
aRelation: { __type: 'Relation', className: 'Stuff' },
},
});
expect(output).toEqual({});