karma-runner/karma — pull request #834 by revolunet (2013-11-20 01:05:05+00:00)
Title: feat(preprocessors): allow multiple file patterns matching

allows to specify multiple file patterns in the preprocessors config so you can add exclusions rules. useful if you want for example coverage to match all src/**/*.js files except those ending with *.spec.js.

Should help for #13

BREAKING CHANGE: the preprocessors config order has been reversed.

Before :

preprocessors: {
'**/*.coffee': ['coffee'],
'**/*.js': ['coverage']
}

After :

preprocessors: {
'coffee': '**/*.coffee',
'coverage': ['**/*.js', '!**/*.spec.js']
}