2 Star 0 Fork 0

mirrors_bpmn-io/table-js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
karma.conf.js 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
Nico Rehwaldt 提交于 2022-09-30 14:11 . chore: update eslint*
/* eslint-env node */
'use strict';
// configures browsers to run test against
// any of [ 'ChromeHeadless', 'Chrome', 'Firefox' ]
const TEST_BROWSERS = (
(process.env.TEST_BROWSERS || 'ChromeHeadless')
.replace(/^\s+|\s+$/, '')
.split(/\s*,\s*/g)
);
process.env.CHROME_BIN = require('puppeteer').executablePath();
module.exports = function(karma) {
karma.set({
frameworks: [
'webpack',
'mocha',
'sinon-chai'
],
files: [
'test/suite.js'
],
preprocessors: {
'test/suite.js': [ 'webpack' ]
},
reporters: [ 'progress' ],
browsers: TEST_BROWSERS,
browserNoActivityTimeout: 30000,
singleRun: true,
autoWatch: false,
webpack: {
mode: 'development',
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: 'babel-loader'
},
{
test: /\.css|\.dmn$/,
type: 'asset/source'
}
]
},
resolve: {
mainFields: [
'dev:module',
'browser',
'module',
'main'
],
modules: [
'node_modules',
__dirname
]
},
devtool: 'eval-source-map'
}
});
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_bpmn-io/table-js.git
git@gitee.com:mirrors_bpmn-io/table-js.git
mirrors_bpmn-io
table-js
table-js
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385