Skip to content

Commit bd57316

Browse files
committed
test: add mixed ascii test
1 parent 3e6f89b commit bd57316

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/stringify.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ test("should handle numbers", () => {
2727
);
2828
});
2929

30+
test("should handle mixed ascii and non-ascii", () => {
31+
assert.deepEqual(qs.stringify({ name: "Jöhn Doe" }), "name=J%C3%B6hn%20Doe");
32+
});
33+
3034
test("should handle BigInt", () => {
3135
assert.deepEqual(
3236
qs.stringify({ age: BigInt(55), name: "John" }),

0 commit comments

Comments
 (0)