Skip to content

Commit aa5ee68

Browse files
authored
Update test case to check for array's indices
1 parent 91bfc23 commit aa5ee68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Sprint-2/implement/contains.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ test("contains an object returns true, or false otherwise", () => {
4343
// When passed to contains
4444
// Then it should return false or throw an error
4545
test("contains an object returns true, or false otherwise", () => {
46-
expect(contains([1, 2, 3, 'a'], "a")).toBe(false);
46+
expect(contains([1, 2, 3, 'a'], "0")).toBe(false);
4747
});

0 commit comments

Comments
 (0)