Skip to content

Commit 0a95ae9

Browse files
committed
added test containing equal signs
1 parent 088b220 commit 0a95ae9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sprint-2/implement/querystring.test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,10 @@ test("decodes URL-encoded characters", () => {
3131
name: "John Doe",
3232
city: "New York",
3333
});
34+
});
35+
36+
test("parses values containing =", () => {
37+
expect(parseQueryString("token=abc=123")).toEqual({
38+
token: "abc=123"
39+
});
3440
});

0 commit comments

Comments
 (0)