Skip to content

Commit 4ef9f57

Browse files
committed
add jshint test to jade/coffee/less build
1 parent 1776058 commit 4ef9f57

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/test-file-creation.js

+11
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,17 @@ describe('angular-fullstack generator', function () {
226226
});
227227
});
228228
});
229+
230+
it('should pass jshint', function(done) {
231+
this.timeout(60000);
232+
gen.run({}, function () {
233+
exec('grunt jshint', function (error, stdout, stderr) {
234+
expect(stdout).to.contain('Running "jshint:server" (jshint) task\u001b[24m\n\n✔ No problems');
235+
expect(stdout).to.contain('Running "jshint:all" (jshint) task\u001b[24m\n\n✔ No problems');
236+
done();
237+
});
238+
});
239+
});
229240

230241
it('should run server tests successfully', function(done) {
231242
this.timeout(60000);

0 commit comments

Comments
 (0)