diff --git a/test/common/app.common.ts b/test/common/app.common.ts index c6127da1..e6790f75 100644 --- a/test/common/app.common.ts +++ b/test/common/app.common.ts @@ -102,7 +102,7 @@ export function routes(app) { metadata: req.body.metadata, }); }); - app.post('/v1/pets_charset', function (req, res, next) { + app.post('/v1/pets_charset', function (req, res) { // req.file is the `avatar` file // req.body will hold the text fields, if there were any res.json({ diff --git a/test/multipart.spec.ts b/test/multipart.spec.ts index 58c178b5..2f872167 100644 --- a/test/multipart.spec.ts +++ b/test/multipart.spec.ts @@ -90,7 +90,7 @@ describe(packageJson.name, () => { .set('Accept', 'application/json; charset=utf-8') .send({ name: "myPet", - tag: "cat" + tag: "cat", }) .expect(200)); })