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 6a6d255 commit 57fab61Copy full SHA for 57fab61
1 file changed
Sprint-2/implement/contains.test.js
@@ -46,7 +46,7 @@ test("given an object with properties, returns false when passed to contains wit
46
// When passed to contains
47
// Then it should return false or throw an error
48
test("given invalid parameters (array), returns false or throws an error", () => {
49
- expect(contains(["gitName", "position"], "gitName")).toEqual(false);
+ expect(contains(["gitName", "age", "position"], "cohort")).toEqual(false);
50
});
51
52
test("given invalid parameters (like null or undefined), returns false or throws an error", () => {
0 commit comments