0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/test/functional/basic/whoIam.js

13 lines
243 B
JavaScript
Raw Normal View History

import {CREDENTIALS} from "../config.func";
module.exports = function(server) {
2017-12-02 05:19:08 -05:00
test('who am I?', () => {
return server.whoami().then(function (username) {
expect(username).toMatch(CREDENTIALS.user);
});
});
};