選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

25 行
542 B

  1. const webpackConfig = require('./webpack.config')
  2. module.exports = (config) => {
  3. config.set({
  4. browsers: ['Chrome'],
  5. frameworks: ['mocha'],
  6. files: ['tests.webpack.js'],
  7. preprocessors: {
  8. 'tests.webpack.js': ['webpack', 'sourcemap']
  9. },
  10. webpack: Object.assign(webpackConfig, {
  11. devtool: 'inline-source-map'
  12. }),
  13. webpackServer: {
  14. noInfo: true
  15. },
  16. reporters: ['mocha', 'coverage'],
  17. coverageReporter: {
  18. dir: 'coverage',
  19. file: 'coverage.json',
  20. type: 'json'
  21. }
  22. })
  23. }