bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Made it possible to set a custom Karma config template #166

Closed vloothuis closed 6 years ago

vloothuis commented 6 years ago

Fixes #165. This approach allows the use of Javascript to change the config anyway one want. For instance:

// Karma configuration

var conf = {{conf}};

conf.files.push(
  {"pattern": "test/**/*.ogg", "watched": false,
   "included": false, "served": true, "nocache": true}
);

module.exports = function(config) {
  config.set(conf);
}

This could also help with / fix #43.