mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-06 05:57:35 +08:00
27 lines
505 B
JavaScript
27 lines
505 B
JavaScript
// 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']
|
|
},
|
|
webpack: {
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /test|node_modules/,
|
|
loader: 'babel?optional[]=runtime&loose=all'
|
|
}
|
|
]
|
|
}
|
|
},
|
|
webpackMiddleware: {
|
|
noInfo: true
|
|
},
|
|
singleRun: true
|
|
}
|