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

11 lines
223 B
JavaScript
Raw Normal View History

2017-12-02 11:19:08 +01:00
export default function(server) {
2017-04-19 21:15:28 +02:00
2017-12-02 11:19:08 +01:00
describe('logout', () => {
test('should log out', () => {
2016-08-10 12:14:08 +02:00
return server.logout('some-token')
.status(200)
2017-04-19 21:15:28 +02:00
.body_ok(/Logged out/);
});
});
2017-12-02 11:19:08 +01:00
}