mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
feat: extra test case
This commit is contained in:
@@ -7,6 +7,9 @@ describe('removeFromArray', () => {
|
||||
test.skip('removes multiple values', () => {
|
||||
expect(removeFromArray([1, 2, 3, 4], 3, 2)).toEqual([1, 4]);
|
||||
});
|
||||
test.skip('removes multiple of the same value', () => {
|
||||
expect(removeFromArray([1, 2, 2, 3], 2)).toEqual([1, 3]);
|
||||
});
|
||||
test.skip('ignores non present values', () => {
|
||||
expect(removeFromArray([1, 2, 3, 4], 7, "tacos")).toEqual([1, 2, 3, 4]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user