Skip to content

Commit 4ee92b9

Browse files
committed
fix(gruntfile): configured jshint for client tests
1 parent 8d81d52 commit 4ee92b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: templates/common/Gruntfile.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ module.exports = function (grunt) {
6767
tasks: ['mochaTest']
6868
},
6969
jsTest: {
70-
files: ['test/spec/{,*/}*.js'],
70+
files: ['test/client/spec/{,*/}*.js'],
7171
tasks: ['newer:jshint:test', 'karma']
7272
},<% } %><% if (compass) { %>
7373
compass: {
@@ -123,9 +123,9 @@ module.exports = function (grunt) {
123123
]<% if (!coffee) { %>,
124124
test: {
125125
options: {
126-
jshintrc: 'test/.jshintrc'
126+
jshintrc: 'test/client/.jshintrc'
127127
},
128-
src: ['test/spec/{,*/}*.js']
128+
src: ['test/client/spec/{,*/}*.js']
129129
}<% } %>
130130
},
131131

@@ -232,9 +232,9 @@ module.exports = function (grunt) {
232232
test: {
233233
files: [{
234234
expand: true,
235-
cwd: 'test/spec',
235+
cwd: 'test/client/spec',
236236
src: '{,*/}*.coffee',
237-
dest: '.tmp/spec',
237+
dest: '.tmp/client/spec',
238238
ext: '.js'
239239
}]
240240
}

0 commit comments

Comments
 (0)