1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/functional/plugins/middleware.js

15 lines
319 B
JavaScript
Raw Normal View History

module.exports = function () {
const server2 = process.server2;
2017-12-02 11:19:08 +01:00
describe('middlewares', () => {
test('should serve the registered route', () => {
return server2.request({
uri: '/test/route',
method: 'GET'
})
.status(200)
.body_ok('this is a custom route')
})
})
}