mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
14 lines
236 B
JavaScript
14 lines
236 B
JavaScript
'use strict';
|
|
|
|
const assert = require('assert');
|
|
|
|
module.exports = function(server) {
|
|
|
|
test('who am I?', () => {
|
|
return server.whoami().then(function (username) {
|
|
assert.equal(username, 'test');
|
|
});
|
|
});
|
|
|
|
};
|
|
|