0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/test/functional/plugins/middleware.spec.js
Juan Picado @jotadeveloper d200bf4507
refactor: remove use strict
2018-03-11 00:19:47 +01:00

14 lines
319 B
JavaScript

module.exports = function () {
const server2 = process.server2;
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')
})
})
}