Skip to content

Commit

Permalink
Increase code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
danivek committed Mar 7, 2018
1 parent c9a34e8 commit 957ec92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/JSONAPISerializer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,9 @@ describe('JSONAPISerializer', function() {
type: 'stuff',
id: ''
}
},
noDataRelationship: {
id: '1'
}
}
}
Expand All @@ -1157,6 +1160,7 @@ describe('JSONAPISerializer', function() {
expect(deserializedData).to.have.property('emptyArray').to.eql([]);
expect(deserializedData).to.have.property('nullRelationship').to.eql(null);
expect(deserializedData).to.have.property('falsyIdRelationship').to.eql('');
expect(deserializedData).to.not.have.property('noDataRelationship');
done();
});

Expand Down

0 comments on commit 957ec92

Please sign in to comment.