0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/test/functional/basic/whoIam.js
Juan Picado @jotadeveloper 2c8c8f0295
refactor: update jetst match
using more consntants
2018-06-23 20:59:18 +02:00

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);
});
});
};