New 'core:/utils/ObjectUtils', additional unit tests

This commit is contained in:
Denys Vuika
2016-07-07 14:30:15 +01:00
parent 3881faec42
commit acfcd19af0
7 changed files with 203 additions and 71 deletions

View File

@@ -347,11 +347,6 @@ describe('ObjectDataRow', () => {
expect(row.getValue('some.missing.property')).toBeUndefined();
});
it('should return undefined when getting value for missing target', () => {
let row = new ObjectDataRow({});
expect(row.getObjectValue(null, 'id')).toBeUndefined();
});
it('should check top level value exists', () => {
let row = new ObjectDataRow({ id: 1 });