Skip to content

Commit

Permalink
able to reproduce error
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 15, 2024
1 parent eff8792 commit 6a0b450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/session.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ describe(`session: ${printPath("[test/session.test.js]")}`, function () {
let res2 = await new Promise((resolve) =>
request(app)
.post("/auth/session/refresh")
.set("Cookie", ["sAccessToken=" + res.accessToken + ";custom=" + ""])
.set("Cookie", ["sAccessToken=" + res.accessToken + ";custom=" + JSON.stringify({ a: "b%b" })])
.set("anti-csrf", res.antiCsrf)
.end((err, res) => {
if (err) {
Expand Down

0 comments on commit 6a0b450

Please sign in to comment.