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

15 lines
240 B
JavaScript

'use strict';
const assert = require('assert');
module.exports = function(server) {
it('who am I?', function () {
return server.whoami().then(function (username) {
assert.equal(username, 'test');
});
});
};