Codacy issue fixes
This commit is contained in:
@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user