0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00
verdaccio/test/functional/basic/ping.js
Juan Picado @jotadeveloper d200bf4507
refactor: remove use strict
2018-03-11 00:19:47 +01:00

14 lines
263 B
JavaScript

const assert = require('assert');
const _ = require('lodash');
module.exports = function(server) {
test('ping', () => {
return server.ping().then(function (data) {
// it's always an empty object
assert.ok(_.isObject(data));
});
});
};