Skip to content

Commit

Permalink
test: fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaydin-tr committed Apr 2, 2024
1 parent 71e3e10 commit d3c47f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __test__/ikari.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,9 @@ test("Context", async () => {
public async postBodyFormData(ctx: Context) {
const formData = (await ctx.body()) as FormData;
const fields: Record<string, string> = {};
for (const [key, value] of formData) {
formData.forEach((value, key) => {
fields[key] = value.toString();
}
});

return ctx.json(fields);
}
Expand Down

0 comments on commit d3c47f0

Please sign in to comment.