mirror of https://github.com/vuejs/vue.git
21 lines
466 B
JavaScript
21 lines
466 B
JavaScript
var webpackConfig = require('./webpack.test.config')
|
|
delete webpackConfig.entry
|
|
webpackConfig.devtool = 'inline-source-map'
|
|
|
|
// shared config for all unit tests
|
|
module.exports = {
|
|
frameworks: ['jasmine'],
|
|
files: [
|
|
'../test/unit/lib/jquery.js',
|
|
'../test/unit/specs/index.js'
|
|
],
|
|
preprocessors: {
|
|
'../test/unit/specs/index.js': ['webpack', 'sourcemap']
|
|
},
|
|
webpack: webpackConfig,
|
|
webpackMiddleware: {
|
|
noInfo: true
|
|
},
|
|
singleRun: true
|
|
}
|