Codacy issue fixes

This commit is contained in:
Angelos Chalaris
2018-06-18 21:18:53 +03:00
parent ba3fcbb95a
commit 17fb304f04
32 changed files with 45 additions and 45 deletions

View File

@ -5,7 +5,7 @@ test('dropRight is a Function', () => {
expect(dropRight).toBeInstanceOf(Function);
});
test('Returns a new array with n elements removed from the right', () => {
expect(dropRight([1, 2, 3])).toEqual([1, 2])
expect(dropRight([1, 2, 3])).toEqual([1, 2]);
});
test('Returns a new array with n elements removed from the right', () => {
expect(dropRight([1, 2, 3], 2)).toEqual([1]);