Skip to content

Commit

Permalink
Update 440.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio authored Nov 5, 2020
1 parent 43dcfda commit 95508cb
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/440.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
// expressOpenapiValidator.middleware({
// apiSpec: apiSpec,
// validateRequests: true,
// validateResponses: true,
// });

import * as express from 'express';
import * as request from 'supertest';
import { createApp } from './common/app';
Expand Down Expand Up @@ -51,7 +45,11 @@ describe(packageJson.name, () => {
},
},
};
app = await createApp({ apiSpec }, 3005, (app) =>
app = await createApp({
apiSpec,
alidateRequests: true,
validateResponses: true,
}, 3005, (app) =>
app.use(
express
.Router()
Expand Down

0 comments on commit 95508cb

Please sign in to comment.