completed assignments

This commit is contained in:
Roberra0 2023-06-18 11:58:59 -07:00
parent 3eb5d4e3ee
commit 1b6b1674d4
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ describe('removeFromArray', () => {
test('works with strings', () => { test('works with strings', () => {
expect(removeFromArray(["hey", 2, 3, "ho"], "hey", 3)).toEqual([2, "ho"]); expect(removeFromArray(["hey", 2, 3, "ho"], "hey", 3)).toEqual([2, "ho"]);
}); });
test('only removes same type', () => { testt('only removes same type', () => {
expect(removeFromArray([1, 2, 3], "1", 3)).toEqual([1, 2]); expect(removeFromArray([1, 2, 3], "1", 3)).toEqual([1, 2]);
}); });
}); });