diff --git a/test/clone-object.js b/test/clone-object.js index 86ec647..1cf7666 100644 --- a/test/clone-object.js +++ b/test/clone-object.js @@ -1,6 +1,6 @@ describe('clone object', function () { it('should clone an object', function () { - var expected = {name: 'Ahmed', age: 27, skills: ['cycling', 'walking', 'eating']}, + let expected = {name: 'Ahmed', age: 27, skills: ['cycling', 'walking', 'eating']}, obj = {}; expect(obj).toEqual(expected);