Exclude *.json.js from jasmine.
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -393,8 +393,9 @@ module.exports = function (grunt) { | ... | @@ -393,8 +393,9 @@ module.exports = function (grunt) { |
393 | } | 393 | } |
394 | if (mpConfig.jasmine) { | 394 | if (mpConfig.jasmine) { |
395 | var src = [ | 395 | var src = [ |
396 | mpConfig.base + '/scripts/{,**/}*.js', | 396 | mpConfig.base + '/scripts/**/*.js', |
397 | '!' + mpConfig.base + '/scripts/main.js', | 397 | '!' + mpConfig.base + '/scripts/main.js', |
398 | '!' + mpConfig.base + '/scripts/**/*.json.js', | ||
398 | ]; | 399 | ]; |
399 | var specs = [ | 400 | var specs = [ |
400 | mpConfig.base + '/scripts/**/*.spec.js', | 401 | mpConfig.base + '/scripts/**/*.spec.js', | ... | ... |
-
Please register or sign in to post a comment