module.exports = function(config) {
  config.set({
    frameworks: ["jasmine"],
    autowatch: false,
    singleRun: true,

    preprocessors: {
      "../src/*.js": "coverage"
    },

    reporters: ["spec", "failed", "coverage"],
    coverageReporter: {
      reporters: [
        {
          type: "lcovonly",
          dir: "coverage",
          subdir: "."
        },
        {
          type: "text-summary"
        }
      ]
    },
  });
};

module.exports = function(config) {
  config.set({
    frameworks: ["jasmine"],
    autowatch: false,
    singleRun: true,

    preprocessors: {
      "../src/*.js": "coverage"
    },

    reporters: ["spec", "failed", "coverage"],
    coverageReporter: {
      reporters: [
        {
          type: "lcovonly",
          dir: "coverage",
          subdir: "."
        },
        {
          type: "text-summary"
        }
      ]
    }
  });
};

Remove unneeded comma in karma.conf.js