Skip to content

Commit

Permalink
fix(gruntfile): configured jshint for client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DaftMonk committed Mar 1, 2014
1 parent 8d81d52 commit 4ee92b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/common/Gruntfile.js
Expand Up @@ -67,7 +67,7 @@ module.exports = function (grunt) {
tasks: ['mochaTest']
},
jsTest: {
files: ['test/spec/{,*/}*.js'],
files: ['test/client/spec/{,*/}*.js'],
tasks: ['newer:jshint:test', 'karma']
},<% } %><% if (compass) { %>
compass: {
Expand Down Expand Up @@ -123,9 +123,9 @@ module.exports = function (grunt) {
]<% if (!coffee) { %>,
test: {
options: {
jshintrc: 'test/.jshintrc'
jshintrc: 'test/client/.jshintrc'
},
src: ['test/spec/{,*/}*.js']
src: ['test/client/spec/{,*/}*.js']
}<% } %>
},

Expand Down Expand Up @@ -232,9 +232,9 @@ module.exports = function (grunt) {
test: {
files: [{
expand: true,
cwd: 'test/spec',
cwd: 'test/client/spec',
src: '{,*/}*.coffee',
dest: '.tmp/spec',
dest: '.tmp/client/spec',
ext: '.js'
}]
}
Expand Down

0 comments on commit 4ee92b9

Please sign in to comment.