Skip to content

Commit d2c6cb5

Browse files
committed
fix lookup test for internal array length
1 parent e1a49b1 commit d2c6cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-2/implement/lookup.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ test("when input is not a 2d array throw error", () => {
7373
});
7474

7575
test("when length of internal array not 1 < arr.length < 3", () => {
76-
expect(() => createLookup(["a"])).toThrow();
76+
expect(() => createLookup([["a"]])).toThrow();
7777
expect(() => createLookup(["a", "b", "c"])).toThrow();
7878
});
7979

0 commit comments

Comments
 (0)