From ab81dfa0604b5ea23ed65250ca8f2b64a138b80e Mon Sep 17 00:00:00 2001 From: mkikyotani Date: Sun, 17 Nov 2019 01:25:50 +0900 Subject: [PATCH] follow a suggestion at CICD --- test/common/app.common.ts | 2 +- test/multipart.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)); })