mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
12 lines
249 B
JavaScript
12 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);
|
|
});
|
|
});
|
|
|
|
};
|
|
|