Test files linted

This commit is contained in:
Angelos Chalaris
2018-08-03 10:39:26 +03:00
parent 5ef1fab5fd
commit cc7b76d0b3
153 changed files with 754 additions and 463 deletions

View File

@ -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' });