karma.FindDesigner.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Karma configuration
  2. // Generated on Thu Dec 20 2018 15:16:19 GMT+0800 (中国标准时间)
  3. module.exports = function(config) {
  4. config.set({
  5. basePath: '../',
  6. frameworks: ['jasmine'],
  7. files: [
  8. {pattern:'o2_lib/mootools/mootools-1.6.0_all.js', included: true, nocache: true},
  9. {pattern:'o2_core/o2.js', included: true, nocache: true},
  10. {pattern:'x_desktop/js/base.js', included: true, nocache: true},
  11. {pattern:'x_test/o2TestLoader.js', included: true, nocache: true},
  12. {pattern:'x_desktop/css/style.css', included: true, nocache: true},
  13. {pattern:'x_desktop/css/mBoxNotice.css', included: true, nocache: true},
  14. {pattern:'x_desktop/css/mBoxTooltip.css', included: true, nocache: true},
  15. {pattern:'o2_core/**/*.*', included: false, nocache: true},
  16. {pattern:'o2_lib/adapter/adapter.js', included: false, nocache: true},
  17. {pattern:'x_desktop/**/*.*', included: false, nocache: true},
  18. {pattern:'x_component_Common/**/*.*', included: false, nocache: true},
  19. {pattern:'x_component_Template/**/*.*', included: false, nocache: true},
  20. {pattern:'x_component_FindDesigner/**/*.!(spec).*', included: false, nocache: true},
  21. {pattern:'x_component_FindDesigner/test/*.spec.js', included: true, nocache: true}
  22. ],
  23. proxies: {
  24. "/": "/base/"
  25. },
  26. exclude: [
  27. ],
  28. preprocessors: {
  29. },
  30. reporters: ['progress'],
  31. port: 9876,
  32. colors: true,
  33. logLevel: config.LOG_INFO,
  34. autoWatch: false,
  35. browsers: ['Chrome'],
  36. singleRun: true,
  37. concurrency: Infinity
  38. });
  39. };