1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/functional/basic/ping.js

17 lines
282 B
JavaScript

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