Skip to content

Commit ed5042f

Browse files
committed
modified test for dedupe
1 parent 630285c commit ed5042f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Sprint-1/implement/dedupe.test.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ describe("dedupe", () => {
3939
it("returns for [1, 2, 3, 4]", () => {
4040
const original = [1, 2, 3, 4];
4141
const result = dedupe(original);
42-
expect(result).not.toBe(original);
42+
expect(result).not.toBe(original)
43+
expect(result).toEqual(original);
4344
});
4445

4546
// Given an array of strings or numbers

0 commit comments

Comments
 (0)