mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
2c8c8f0295
using more consntants
12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
import {CREDENTIALS} from "../config.func";
|
|
|
|
module.exports = function(server) {
|
|
|
|
test('who am I?', () => {
|
|
return server.whoami().then(function (username) {
|
|
expect(username).toMatch(CREDENTIALS.user);
|
|
});
|
|
});
|
|
|
|
};
|
|
|