Skip to content

Commit

Permalink
test: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Feb 28, 2021
1 parent 7e77207 commit dccf760
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/response.validation.spec.ts
Expand Up @@ -172,7 +172,6 @@ describe(packageJson.name, () => {
.get(`${app.basePath}/empty_response`)
.expect(204)
.then((r) => {
console.log(r.body);
expect(r.body).to.be.empty;
}));

Expand Down
2 changes: 0 additions & 2 deletions test/serdes.spec.ts
Expand Up @@ -188,7 +188,6 @@ describe('serdes serialize response components only', () => {
if(typeof req.params.id !== 'string') {
throw new Error("Should be not be deserialized to ObjectId object");
}
console.log(req.query.baddateresponse);
let date = new Date("2020-12-20T07:28:19.213Z");
let result = {
id: new ObjectID(req.params.id),
Expand Down Expand Up @@ -219,7 +218,6 @@ describe('serdes serialize response components only', () => {
req.body.id = new ObjectID(req.body.id);
req.body.creationDateTime = new Date(req.body.creationDateTime);
// We let creationDate as String and it should also work (either in Date Object ou String 'date' format)
console.log(req.body);
res.json(req.body);
});
app.use((err, req, res, next) => {
Expand Down

0 comments on commit dccf760

Please sign in to comment.