Skip to content

Commit

Permalink
test: fix breaking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jun 5, 2023
1 parent 6e7cf68 commit f306758
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/body-parser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,6 @@ test.group('BodyParser Middleware | multipart', (group) => {
)

await middleware.handle(ctx, async () => {
res.writeHead(200, { 'content-type': 'application/json' })
const pkgFile = ctx.request.file('package', { size: 10 })!

try {
Expand Down Expand Up @@ -1189,7 +1188,6 @@ test.group('BodyParser Middleware | multipart', (group) => {
)

await middleware.handle(ctx, async () => {
res.writeHead(200, { 'content-type': 'application/json' })
const pkgFile = ctx.request.file('package', { extnames: ['json'] })!

try {
Expand Down

0 comments on commit f306758

Please sign in to comment.