1 Star 0 Fork 0

tina/vue-draggable-resizable

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
karma.conf.js 994 Bytes
一键复制 编辑 原始数据 按行查看 历史
Maurizio Bonani 提交于 2019-01-15 03:38 +08:00 . Lint
var path = require('path')
var webpackConfig = require('../../webpack.test')
module.exports = function (config) {
config.set({
browsers: ['ChromeHeadless'],
frameworks: ['mocha', 'chai'],
// reporters: ['spec', 'coverage'],
port: 9876, // karma web server port
colors: true,
files: ['./index.js'],
preprocessors: {
'./index.js': ['webpack', 'sourcemap']
},
webpack: webpackConfig,
webpackMiddleware: {
noInfo: true,
stats: {
chunks: false
}
},
// coverageReporter: {
// dir: './coverage',
// reporters: [
// { type: 'lcov', subdir: '.' },
// { type: 'text-summary' }
// ]
// },
reporters: ['spec', 'coverage-istanbul'],
coverageIstanbulReporter: {
reports: ['lcov', 'text-summary'],
dir: path.join(__dirname, 'coverage'),
fixWebpackSourcePaths: true,
'report-config': {
lcov: {
subdir: '.'
}
}
}
})
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/tina715/vue-draggable-resizable.git
git@gitee.com:tina715/vue-draggable-resizable.git
tina715
vue-draggable-resizable
vue-draggable-resizable
master

搜索帮助