1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/tqlin-jPublic

Клонировать/Скачать
karma.conf.js 2.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
lintq Отправлено 13.05.2019 05:42 4bead15
// Karma configuration
// Generated on Mon May 06 2019 15:21:57 GMT+0800 (GMT+08:00)
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine', 'qunit'],
plugins: ['karma-qunit'],
// list of files / patterns to load in the browser
files: [
'jPublic.js',
'test/testIndex.js'
],
// client configuration
client: {
clearContext: false,
qunit: {
showUI: true,
testTimeout: 5000
}
},
// list of files / patterns to exclude
exclude: [],
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {'*.js': 'coverage'},
coverageReporter: {
type: 'html',
dir: 'coverage/'
},
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress', 'coverage'],
// web server port
port: 9876,
// enable / disable colors in the output (reporters and logs)
colors: true,
// 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 whenever any file changes
autoWatch: true,
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,
// Concurrency level
// how many browser should be started simultaneous
concurrency: Infinity
})
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/tqlin-jPublic.git
git@api.gitlife.ru:oschina-mirror/tqlin-jPublic.git
oschina-mirror
tqlin-jPublic
tqlin-jPublic
master