Test files linted
This commit is contained in:
@ -5,7 +5,7 @@ test('forEachRight is a Function', () => {
|
||||
expect(forEachRight).toBeInstanceOf(Function);
|
||||
});
|
||||
let output = '';
|
||||
forEachRight([1, 2, 3, 4], val => output+=val);
|
||||
forEachRight([1, 2, 3, 4], val => (output += val));
|
||||
test('Iterates over the array in reverse', () => {
|
||||
expect(output).toBe('4321');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user