1 Star 0 Fork 1

yunhaiai/jsPDF

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
karma.dist.conf.js 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
Aras Abbasi 提交于 2019-04-02 01:20 . Alot of changes (#2374)
// Karma configuration
'use strict'
const karmaConfig = require('./karma.common.conf.js')
const browsers = {
IE: {}
}
module.exports = (config) => {
config.set({
...karmaConfig,
files: [
'spec/utils/polyfill.js',
'dist/jspdf.debug.js',
'node_modules/canvg/dist/browser/canvg.js',
'node_modules/html2canvas/dist/html2canvas.js',
'spec/utils/compare.js',
{
pattern: 'spec/**/*.spec.js',
included: true
},
{
pattern: 'spec/**/reference/*.*',
included: false,
served: true
}
],
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
'dist/jspdf.debug.js': 'coverage',
'spec/!(acroform|unicode)*/*.js': 'babel'
},
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['mocha', 'coverage'],
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests wheneve r any file changes
autoWatch: true,
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: Object.keys(browsers),
})
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhongchengyi/jsPDF.git
[email protected]:zhongchengyi/jsPDF.git
zhongchengyi
jsPDF
jsPDF
master

搜索帮助