mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +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);
|
|
});
|
|
});
|
|
|
|
};
|
|
|