We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 608badb commit c6e8c0cCopy full SHA for c6e8c0c
1 file changed
Sprint-2/implement/contains.test.js
@@ -64,7 +64,7 @@ test("contains returns false when the property is not present", () => {
64
65
// Handles invalid inputs gracefully
66
test("contains handles invalid parameters", () => {
67
- expect(contains([], "a")).toBe(false);
+ expect(contains([], "length")).toBe(false);
68
expect(contains(null, "a")).toBe(false);
69
expect(contains(undefined, "a")).toBe(false);
70
});
0 commit comments