Skip to content

Commit

Permalink
add jshint test to jade/coffee/less build
Browse files Browse the repository at this point in the history
  • Loading branch information
DaftMonk committed Jul 13, 2014
1 parent 1776058 commit 4ef9f57
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/test-file-creation.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,17 @@ describe('angular-fullstack generator', function () {
});
});
});

it('should pass jshint', function(done) {
this.timeout(60000);
gen.run({}, function () {
exec('grunt jshint', function (error, stdout, stderr) {
expect(stdout).to.contain('Running "jshint:server" (jshint) task\u001b[24m\n\n✔ No problems');
expect(stdout).to.contain('Running "jshint:all" (jshint) task\u001b[24m\n\n✔ No problems');
done();
});
});
});

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

0 comments on commit 4ef9f57

Please sign in to comment.