Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Karma configuration
// Generated on Fri Aug 04 2017 20:53:38 GMT+0800 (CST)
// Generated on Sat Mar 23 2019 13:44:54 GMT+0800 (中国标准时间)

module.exports = function(config) {
config.set({
Expand All @@ -15,10 +15,10 @@ module.exports = function(config) {

// list of files / patterns to load in the browser
files: [
'node_modules/should/should.js',
'js/*.js',
'quz/*.js',
'test/*.js'
'./node_modules/should/should.js',
'./quz/quz.js',
'./js/list.js',
'./test/**.js'
],


Expand Down Expand Up @@ -58,19 +58,12 @@ module.exports = function(config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome_without_security'],

customLaunchers: {
Chrome_without_security: {
base: 'Chrome',
flags: ['--disable-web-security']
}
},
browsers: ['Chrome'],


// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: true,
singleRun: false,

// Concurrency level
// how many browser should be started simultaneous
Expand Down
Loading