Skip to content

Commit

Permalink
fix: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Feb 15, 2023
1 parent b106ad1 commit 5633b48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"koa": "^2.14.1",
"koa-connect": "^2.1.0",
"lint-staged": "^13.1.0",
"multer": "1.4.5-lts.1",
"nyc": "^15.1.0",
"remark-cli": "^11.0.0",
"remark-preset-github": "^4.0.4",
Expand Down
3 changes: 0 additions & 3 deletions test/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ test('express with body parsing disabled', async (t) => {
.attach('boop', path.join(fixtures, 'boop-1.txt'))
.attach('boop', path.join(fixtures, 'boop-2.txt'))
.set('Cookie', ['foo=bar;beep=boop']);
console.log('res', res);
console.log('res.body', res.body);
console.log('res.body.request', res.body.request);
t.true(typeof res.body.request.timestamp === 'string');
t.true(typeof res.body.request.body === 'undefined');
});
Expand Down

0 comments on commit 5633b48

Please sign in to comment.