Skip to content

Commit

Permalink
chore: apply automated updates
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored May 22, 2024
1 parent f7c9a14 commit abad077
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/parse.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ describe("cookie.parse(str, options)", () => {
});

it("parse filter key", () => {
expect(parse("a=1;b=2", {
filter: (key) => key === "a"
})).toMatchObject({ a: "1" });
expect(
parse("a=1;b=2", {
filter: (key) => key === "a",
}),
).toMatchObject({ a: "1" });

expect(parse("a=1;b=2"))
.toMatchObject({ a: "1", b: "2" });
})
expect(parse("a=1;b=2")).toMatchObject({ a: "1", b: "2" });
});
});
});

0 comments on commit abad077

Please sign in to comment.