diff --git a/test/test.js b/test/test.js index c427ac1..67d04cb 100644 --- a/test/test.js +++ b/test/test.js @@ -11,7 +11,7 @@ const PORT = 9876 const URL = `http://localhost:${PORT}/` const allRoutes = (obj, type, action) => Promise.all([ - obj.get()[type](action), + obj.get()[type](_ => _).then(action), obj.put()[type](action), obj.patch()[type](action), obj.post()[type](action),