0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/test/functional/basic/whoIam.js

15 lines
236 B
JavaScript
Raw Normal View History

'use strict';
const assert = require('assert');
module.exports = function(server) {
2017-12-02 05:19:08 -05:00
test('who am I?', () => {
return server.whoami().then(function (username) {
assert.equal(username, 'test');
});
});
};