ClipboardJS: Removed PhantomJS Dependency

Added karma-chrome-launcher dependency

Signed-off-by: ossdev <ossdev@puresoftware.com>
This commit is contained in:
ossdev
2019-03-26 16:26:08 +05:30
committed by Zeno Rocha
parent ce79f170aa
commit 83824fa248
5 changed files with 1394 additions and 1792 deletions

View File

@@ -2,14 +2,13 @@ var webpackConfig = require('./webpack.config.js');
module.exports = function (karma) {
karma.set({
plugins: ['karma-webpack', 'karma-chai', 'karma-sinon', 'karma-mocha', 'karma-phantomjs-launcher'],
plugins: ['karma-webpack', 'karma-chai', 'karma-sinon', 'karma-mocha', 'karma-chrome-launcher'],
frameworks: ['chai', 'sinon', 'mocha'],
files: [
'src/**/*.js',
'test/**/*.js',
'./node_modules/phantomjs-polyfill/bind-polyfill.js'
],
preprocessors: {
@@ -26,6 +25,6 @@ module.exports = function (karma) {
stats: 'errors-only'
},
browsers: ['PhantomJS']
browsers: ['ChromeHeadless']
});
};