mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-26 09:24:07 +00:00
test(util) findObjByNameInArr: coverage
This commit is contained in:
parent
e2b1351424
commit
abc051cad1
2 changed files with 20 additions and 12 deletions
|
|
@ -91,8 +91,13 @@ test('util: findObjByNameInArr: array', (t) => {
|
|||
data,
|
||||
};
|
||||
|
||||
const obj = {
|
||||
name: 'world',
|
||||
}
|
||||
|
||||
const array = [
|
||||
[
|
||||
name, [
|
||||
obj,
|
||||
item,
|
||||
]
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue