1 Star 1 Fork 2

simonguo/rsuite-table

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
karma.conf.js 953 Bytes
一键复制 编辑 原始数据 按行查看 历史
simonguo 提交于 2018-04-19 16:13 . Fixes for eslint
const webpackConfig = {
output: {
pathinfo: true
},
module: {
rules: [
{
test: /\.jsx?$/,
use: ['babel-loader'],
exclude: /node_modules/
}
]
},
devtool: 'eval'
};
module.exports = config => {
const { env } = process;
config.set({
basePath: '',
files: ['test/index.js'],
frameworks: ['mocha', 'sinon-chai'],
colors: true,
reporters: ['mocha', 'coverage'],
logLevel: config.LOG_INFO,
preprocessors: {
'test/index.js': ['webpack']
},
webpack: webpackConfig,
webpackMiddleware: {
noInfo: true
},
browsers: env.BROWSER ? env.BROWSER.split(',') : ['Chrome'],
customLaunchers: {
ChromeCi: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},
coverageReporter: {
dir: 'coverage',
reporters: [
{ type: 'html' },
{ type: 'lcov', subdir: 'lcov' } // lcov
]
}
});
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/simonet/rsuite-table.git
git@gitee.com:simonet/rsuite-table.git
simonet
rsuite-table
rsuite-table
master

搜索帮助