Additional tests

This commit is contained in:
Angelos Chalaris
2018-10-31 20:27:06 +02:00
parent b747a82395
commit 53151c01e5
5 changed files with 28 additions and 0 deletions

View File

@ -10,3 +10,6 @@ test('Returns an array with n elements removed from the beginning.', () => {
test('Returns an array with n elements removed from the beginning.', () => {
expect(take([1, 2, 3], 0)).toEqual([]);
});
test('Returns an array with n elements removed from the beginning.', () => {
expect(take([1, 2, 3])).toEqual([1]);
});