Test files linted
This commit is contained in:
@ -7,7 +7,7 @@ test('lowercaseKeys is a Function', () => {
|
||||
const myObj = { Name: 'Adam', sUrnAME: 'Smith' };
|
||||
const myObjLower = lowercaseKeys(myObj);
|
||||
test('Lowercases object keys', () => {
|
||||
expect(myObjLower).toEqual( {name: 'Adam', surname: 'Smith'});
|
||||
expect(myObjLower).toEqual({ name: 'Adam', surname: 'Smith' });
|
||||
});
|
||||
test('Does not mutate original object', () => {
|
||||
expect(myObj).toEqual({ Name: 'Adam', sUrnAME: 'Smith' });
|
||||
|
||||
Reference in New Issue
Block a user