@@ -5,7 +5,7 @@ const _ = require('lodash');
 
 module.exports = function(server) {
 
-  it('ping', function () {
+  test('ping', () => {
     return server.ping().then(function (data) {
       // it's always an empty object
       assert.ok(_.isObject(data));
'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));
    });
  });

};


You can use arrow function in then block.