Advertisement
Noah-Huppert

NoahHuppert.com karma.conf.js

Jan 8th, 2015
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module.exports = function(config) {
  2.   config.set({
  3.     basePath: "../",
  4.     frameworks: ["jasmine"],files: [
  5.       "http://underscorejs.org/underscore-min.js",
  6.       "http://code.jquery.com/jquery-1.11.0.min.js",
  7.       "http://cdnjs.cloudflare.com/ajax/libs/knockout/3.1.0/knockout-min.js",
  8.       "libs/marked/lib/marked.js",
  9.       "build/scripts/javascript/main.js",
  10.       "test/javascript/**/*"
  11.     ],exclude: [
  12.     ],preprocessors: {
  13.       "build/scripts/javascript/main.js": ["coverage"]
  14.     },reporters: ["progress", "coverage"],
  15.     port: 9876,
  16.     colors: true,
  17.     logLevel: config.LOG_INFO,
  18.     autoWatch: false,
  19.     browsers: ["PhantomJS"],//browsers: ["Chrome", "ChromeCanary", "Firefox", "IE", "PhantomJS"],
  20.     singleRun: true,
  21.     proxies: {
  22.       "/data/": "build/data/",
  23.       "/test/data/": "test/data"
  24.     },
  25.     coverageReporter: {
  26.       "dir": "test/coverage/",
  27.       reporters: [
  28.         { type: "lcov", subdir: "lcov" },
  29.         { type: "html", subdir: "html" }
  30.       ]
  31.     }
  32.   });
  33. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement