0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/test/functional/adduser/logout.js
Juan Picado @jotadeveloper 2c8c8f0295
refactor: update jetst match
using more consntants
2018-06-23 20:59:18 +02:00

12 lines
291 B
JavaScript

import {HTTP_STATUS} from "../../../src/lib/constants";
export default function(server) {
describe('logout', () => {
test('should log out', () => {
return server.logout('some-token')
.status(HTTP_STATUS.OK)
.body_ok(/Logged out/);
});
});
}