Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 8, 2021
1 parent b0e3001 commit b52d133
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
"@sindresorhus/tsconfig": "^2.0.0",
"@type-challenges/utils": "^0.1.1",
"@types/body-parser": "^1.19.1",
"@types/busboy": "^0.2.4",
"@types/busboy": "^0.3.1",
"@types/express": "^4.17.13",
"@types/node-fetch": "^2.5.10",
"@types/pify": "^5.0.1",
"abort-controller": "^3.0.0",
"ava": "^4.0.0-alpha.2",
"ava": "4.0.0-alpha.2",
"body-parser": "^1.19.0",
"busboy": "^0.3.1",
"del-cli": "^4.0.1",
Expand All @@ -67,9 +67,9 @@
"form-data": "^4.0.0",
"node-fetch": "^2.6.1",
"pify": "^5.0.0",
"playwright-chromium": "^1.15.2",
"playwright-chromium": "^1.16.3",
"raw-body": "^2.4.1",
"ts-node": "^10.3.0",
"ts-node": "^10.4.0",
"typescript": "^4.4.4",
"xo": "^0.45.0"
},
Expand Down
1 change: 1 addition & 0 deletions test/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ test('FormData with searchParams ("multipart/form-data" parser)', withPage, asyn
});
server.post('/', async (request, response) => {
const [body, error] = await new Promise(resolve => {
// @ts-expect-error
const busboy = new Busboy({headers: request.headers});
busboy.on('error', (error: Error) => {
resolve([null, error]);
Expand Down

0 comments on commit b52d133

Please sign in to comment.