Use 'ChromeHeadless' in karma.conf.js

This commit is contained in:
grossmj 2023-02-01 10:57:59 +08:00
parent 6aa6647f53
commit c12167379d

View File

@ -19,13 +19,13 @@ module.exports = function (config) {
dir: require('path').join(__dirname, 'coverage'), reports: [ 'html', 'lcovonly' ],
fixWebpackSourcePaths: true
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
browsers: ['ChromeHeadless'],
singleRun: true
});
};