'use strict';

// Module dependencies
var path = require('path');
var openVeoAPI = require('@openveo/api');

// Set module root directory
process.root = path.join(__dirname, '../../');
process.require = function(filePath) {
  return require(path.normalize(process.root + '/' + filePath));
};

// Define a custom require function to load modules of the core from plugins
process.requireModule = function(moduleName) {
  return require(moduleName);
};

process.logger = openVeoAPI.logger.get('openveo');

'use strict';

// Module dependencies
var path = require('path');
var openVeoAPI = require('@openveo/api');

// Set module root directory
process.root = path.join(__dirname, '../../');
process.require = function(filePath) {
  return require(path.normalize(process.root + '/' + filePath));
};

process.logger = openVeoAPI.logger.get('openveo');

Remove unused method process.requireModule from unit tests
Remove unused method process.requireModule from unit tests
