Fixed some issues in test files
This commit is contained in:
@ -4,5 +4,5 @@ const pre = prefix.length ? prefix + '.' : '';
|
||||
if (typeof obj[k] === 'object') Object.assign(acc, flattenObject(obj[k], pre + k));
|
||||
else acc[pre + k] = obj[k];
|
||||
return acc;
|
||||
}, {
|
||||
}, {});
|
||||
module.exports = flattenObject;
|
||||
Reference in New Issue
Block a user