Skip to content

Commit 5cf4592

Browse files
format the new test given by review for future study
1 parent ccce688 commit 5cf4592

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Sprint-2/implement/contains.test.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ test("should return false if the input object do not have non existing key value
5454
test("should return false if the input object do not have non existing key value", () => {
5555
let mixObject = { a: 2, b: "hello", c: [] };
5656
expect(contains(mixObject, "c")).toBe(false);
57-
58-
59-
expect(contains(["A", "B"], "1" )).toBe(false);
60-
expect(contains(null, "1" )).toBe(false);
61-
expect(contains(undefined, "1" )).toBe(false);
62-
expect(contains("ABC", "1" )).toBe(false);
57+
expect(contains(["A", "B"], "1")).toBe(false);
58+
expect(contains(null, "1")).toBe(false);
59+
expect(contains(undefined, "1")).toBe(false);
60+
expect(contains("ABC", "1")).toBe(false);
6361
});

0 commit comments

Comments
 (0)