diff --git a/test/index.js b/test/index.js index 6789462..78c2cab 100644 --- a/test/index.js +++ b/test/index.js @@ -173,11 +173,12 @@ test ('recursive filter multifield', (t) => { ] } ]; - const filtered = [ - { name: 'foo', f: 'include' } - ]; + const filtered = [ { name: 'foo', f: 'include' } ]; const filter = { - fields: ['name', 'f'], + fields: [ + 'name', + 'f' + ], filter: /foo include/ui }; const result = util.recursive_filter (raw, [ filter ]);