mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
13 lines
249 B
JavaScript
13 lines
249 B
JavaScript
import {CREDENTIALS} from "../config.functional";
|
|
|
|
module.exports = function(server) {
|
|
|
|
test('who am I?', () => {
|
|
return server.whoami().then(function (username) {
|
|
expect(username).toMatch(CREDENTIALS.user);
|
|
});
|
|
});
|
|
|
|
};
|
|
|