const assert = require('assert');
const app = require('../../<%= libDirectory %>/app');

describe('\'<%= name %>\' service', () => {
  it('registered the service', () => {
    const service = app.service('<%= kebabName %>');

    assert.ok(service, 'Registered the service');
  });
});

const assert = require('assert');
const app = require('../../<%= libDirectory %>/app');

describe('\'<%= name %>\' service', () => {
  it('registered the service', () => {
    const service = app.service('<%= path %>');

    assert.ok(service, 'Registered the service');
  });
});

Use proper path to get service in test (#210)