9f524f72 by Adam Heath

Exclude *.json.js from jasmine.

1 parent eb4ece30
......@@ -393,8 +393,9 @@ module.exports = function (grunt) {
}
if (mpConfig.jasmine) {
var src = [
mpConfig.base + '/scripts/{,**/}*.js',
mpConfig.base + '/scripts/**/*.js',
'!' + mpConfig.base + '/scripts/main.js',
'!' + mpConfig.base + '/scripts/**/*.json.js',
];
var specs = [
mpConfig.base + '/scripts/**/*.spec.js',
......