const app = require('../app') app.run(function(api) { api.statistics = () => api.get('/api/statistics') })