You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 regels
395 B

  1. module.exports = (config) => {
  2. config.set({
  3. basePath: "..",
  4. frameworks: ["mocha", "browserify"],
  5. plugins: ["karma-mocha", "karma-browserify", "karma-chrome-launcher"],
  6. files: ["src/index.js", "test/**/*.js"],
  7. preprocessors: {
  8. "src/index.js": ["browserify"],
  9. "test/**/*.js": ["browserify"],
  10. },
  11. browsers: ["ChromeHeadless"],
  12. singleRun: true,
  13. });
  14. };