19 lines
341 B
JavaScript
19 lines
341 B
JavaScript
|
var path = require('path');
|
||
|
|
||
|
var ret = {
|
||
|
'suites': ['app/test'],
|
||
|
'webserver': {
|
||
|
'pathMappings': []
|
||
|
}
|
||
|
};
|
||
|
|
||
|
var mapping = {};
|
||
|
var rootPath = (__dirname).split(path.sep).slice(-1)[0];
|
||
|
|
||
|
mapping['/components/' + rootPath +
|
||
|
'/app/bower_components'] = 'bower_components';
|
||
|
|
||
|
ret.webserver.pathMappings.push(mapping);
|
||
|
|
||
|
module.exports = ret;
|