wct.conf.js 341 B

123456789101112131415161718
  1. var path = require('path');
  2. var ret = {
  3. 'suites': ['app/test'],
  4. 'webserver': {
  5. 'pathMappings': []
  6. }
  7. };
  8. var mapping = {};
  9. var rootPath = (__dirname).split(path.sep).slice(-1)[0];
  10. mapping['/components/' + rootPath +
  11. '/app/bower_components'] = 'bower_components';
  12. ret.webserver.pathMappings.push(mapping);
  13. module.exports = ret;