2
0

karma.base.config.js 466 B

1234567891011121314151617181920
  1. var webpackConfig = require('./webpack.test.config')
  2. delete webpackConfig.entry
  3. webpackConfig.devtool = 'inline-source-map'
  4. // shared config for all unit tests
  5. module.exports = {
  6. frameworks: ['jasmine'],
  7. files: [
  8. '../test/unit/lib/jquery.js',
  9. '../test/unit/specs/index.js'
  10. ],
  11. preprocessors: {
  12. '../test/unit/specs/index.js': ['webpack', 'sourcemap']
  13. },
  14. webpack: webpackConfig,
  15. webpackMiddleware: {
  16. noInfo: true
  17. },
  18. singleRun: true
  19. }