cucumber-rest-bdd 0.5.3 → 0.6.0.pre.183

Sign up to get free protection for your applications and to get access to all the features.
data/server/error.js DELETED
@@ -1,14 +0,0 @@
1
- module.exports = (req, res, next) => {
2
- if (req.path == '/errors/list') {
3
- res.status(404)
4
- res.locals.data = {
5
- errors: [{ message: 'Not Found' }]
6
- }
7
- } else if (req.path == '/errors/single') {
8
- res.status(400)
9
- res.locals.data = {
10
- error: { message: 'Bad Request' }
11
- }
12
- }
13
- next()
14
- }
data/server/routes.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "/:r1/:id1/:r2/:id2": "/:r2/:id2",
3
- "/users/:uid/albums/:alid/photos": "/photos?albumId=:alid",
4
- "/users/:uid/albums/:alid/photos/:pid": "/photos/:pid"
5
- }