linting
This commit is contained in:
parent
9f41d623e4
commit
af709965c5
@ -173,11 +173,12 @@ test ('recursive filter multifield', (t) => {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
const filtered = [
|
const filtered = [ { name: 'foo', f: 'include' } ];
|
||||||
{ name: 'foo', f: 'include' }
|
|
||||||
];
|
|
||||||
const filter = {
|
const filter = {
|
||||||
fields: ['name', 'f'],
|
fields: [
|
||||||
|
'name',
|
||||||
|
'f'
|
||||||
|
],
|
||||||
filter: /foo include/ui
|
filter: /foo include/ui
|
||||||
};
|
};
|
||||||
const result = util.recursive_filter (raw, [ filter ]);
|
const result = util.recursive_filter (raw, [ filter ]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user