mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
16 lines
278 B
JavaScript
16 lines
278 B
JavaScript
'use strict';
|
|
|
|
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));
|
|
});
|
|
});
|
|
|
|
};
|
|
|