Skip to content

Commit

Permalink
ClipboardJS: Removed PhantomJS Dependency
Browse files Browse the repository at this point in the history
Added karma-chrome-launcher dependency

Signed-off-by: ossdev <[email protected]>
  • Loading branch information
ossdev07 authored and zenorocha committed Feb 29, 2020
1 parent ce79f17 commit 83824fa
Show file tree
Hide file tree
Showing 5 changed files with 1,394 additions and 1,792 deletions.
5 changes: 2 additions & 3 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -26,6 +25,6 @@ module.exports = function (karma) {
stats: 'errors-only'
},

browsers: ['PhantomJS']
browsers: ['ChromeHeadless']
});
};
Loading

0 comments on commit 83824fa

Please sign in to comment.