update karma config

This commit is contained in:
Rafael Schouten
2014-10-17 04:01:36 +11:00
parent f0c9e7cd44
commit 4defb38cf4

View File

@@ -27,9 +27,16 @@ module.exports = function(config) {
'app/assets/javascripts/admin/util.js.erb'
],
preprocessors: {
'**/*.coffee': ['coffee']
},
coffeePreprocessor: {
options: {
sourceMap: true
},
transformPath: function(path) {
return path.replace(/\.coffee$/, '.js');
}
},