Skip to content

Commit 7c4bfb9

Browse files
authored
Remove stretch exercise test for identical keys
Removed optional test for handling identical keys in query strings.
1 parent a169848 commit 7c4bfb9

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎Sprint-2/implement/querystring.test.js‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,3 @@ test("should replace '+' by ' '", () => {
3636
"full name": "John Doe",
3737
});
3838
});
39-
40-
// Stretch exercise: Handling query strings that contain identical keys
41-
42-
// Delete this test if you are not working on this optional case
43-
test("should store values of a key in an array when the key has 2 or more values", () => {
44-
expect(parseQueryString("key=value1&key=value2&key=value3&foo=bar")).toEqual({
45-
key: ["value1", "value2", "value3"],
46-
foo: "bar",
47-
});
48-
});

0 commit comments

Comments
 (0)