mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Update dev dependencies.
This commit is contained in:
@@ -1,30 +1,36 @@
|
||||
var webpackConfig = require('./webpack.config.js');
|
||||
var webpackConfig = require("./webpack.config.js");
|
||||
|
||||
module.exports = function (karma) {
|
||||
karma.set({
|
||||
plugins: ['karma-webpack', 'karma-chai', 'karma-sinon', 'karma-mocha', 'karma-chrome-launcher'],
|
||||
plugins: [
|
||||
"karma-webpack",
|
||||
"karma-chai",
|
||||
"karma-sinon",
|
||||
"karma-mocha",
|
||||
"karma-chrome-launcher",
|
||||
],
|
||||
|
||||
frameworks: ['chai', 'sinon', 'mocha'],
|
||||
frameworks: ["chai", "sinon", "mocha", "webpack"],
|
||||
|
||||
files: [
|
||||
'src/**/*.js',
|
||||
'test/**/*.js',
|
||||
{ pattern: "src/**/*.js", watched: false },
|
||||
{ pattern: "test/**/*.js", watched: false },
|
||||
],
|
||||
|
||||
preprocessors: {
|
||||
'src/**/*.js': ['webpack'],
|
||||
'test/**/*.js': ['webpack']
|
||||
"src/**/*.js": ["webpack"],
|
||||
"test/**/*.js": ["webpack"],
|
||||
},
|
||||
|
||||
webpack: {
|
||||
module: webpackConfig.module,
|
||||
plugins: webpackConfig.plugins
|
||||
plugins: webpackConfig.plugins,
|
||||
},
|
||||
|
||||
webpackMiddleware: {
|
||||
stats: 'errors-only'
|
||||
stats: "errors-only",
|
||||
},
|
||||
|
||||
browsers: ['ChromeHeadless']
|
||||
browsers: ["ChromeHeadless"],
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user