mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
2c8c8f0295
using more consntants
13 lines
291 B
JavaScript
13 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/);
|
|
});
|
|
});
|
|
}
|