lib/context.js
function validateAppOpts(appOptsRaw) {
  _chai.assert.ok(appOptsRaw, 'appOpts are required');
  var appName = appOptsRaw.appName;


  (0, _chai.assert)(typeof appName === 'string', 'appName opt must be a string');
  (0, _chai.assert)(appName.length > 0, 'appName opt must not be empty');
}
function validateAppOpts(appOptsRaw) {
  _chai.assert.ok(appOptsRaw, 'appOpts are required');
  var appName = appOptsRaw.appName;


  (0, _chai.assert)(typeof appName === 'string', 'appName opt must be a string');
  (0, _chai.assert)(appName.length > 0, 'appName opt must not be empty');
}
function validateAppOpts ( appOptsRaw ) { _chai . assert . ok ( appOptsRaw , 'appOpts are required' ) ; var appName = appOptsRaw . appName ; ( 0 , _chai . assert ) ( typeof appName === 'string' , 'appName opt must be a string' ) ; ( 0 , _chai . assert ) ( appName . length > 0 , 'appName opt must not be empty' ) ; }
Validates library consumers options
Validates library consumers options