Codacy style changes (minor)
This commit is contained in:
@ -6,5 +6,5 @@ test('cleanObj is a Function', () => {
|
||||
});
|
||||
const testObj = { a: 1, b: 2, children: { a: 1, b: 2 } };
|
||||
test('Removes any properties except the ones specified from a JSON object', () => {
|
||||
expect(cleanObj(testObj, ['a'], 'children')).toEqual({ a: 1, children : { a: 1}});
|
||||
expect(cleanObj(testObj, ['a'], 'children')).toEqual({ a: 1, children: { a: 1}});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user