Skip to content

Commit

Permalink
Update URLSearchParams.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Mar 5, 2024
1 parent 946423e commit 9c51194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/js/web/html/URLSearchParams.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ describe("URLSearchParams", () => {
});
});

test(".delete second argument", () => {
it(".delete second argument", () => {
const params = new URLSearchParams("a=1&a=2&b=3");
params.delete("a", 1);
params.delete("b", undefined);
expect(params + "").toBe("a=2");
});

test(".has second argument", () => {
it(".has second argument", () => {
const params = new URLSearchParams("a=1&a=2&b=3");
expect(params.has("a", 1)).toBe(true);
expect(params.has("a", 2)).toBe(true);
Expand Down

0 comments on commit 9c51194

Please sign in to comment.