test(util) findObjByNameInArr: coverage

This commit is contained in:
coderaiser 2017-08-04 13:58:33 +03:00
parent e2b1351424
commit abc051cad1
2 changed files with 20 additions and 12 deletions

View file

@ -91,8 +91,13 @@ test('util: findObjByNameInArr: array', (t) => {
data,
};
const obj = {
name: 'world',
}
const array = [
[
name, [
obj,
item,
]
];