From 4ef9f5759327ec55c73b7b305f294ec6aae57e97 Mon Sep 17 00:00:00 2001 From: Tyler Henkel Date: Sun, 13 Jul 2014 00:46:16 -0600 Subject: [PATCH] add jshint test to jade/coffee/less build --- test/test-file-creation.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/test-file-creation.js b/test/test-file-creation.js index 4ff13c7a6..df291812c 100644 --- a/test/test-file-creation.js +++ b/test/test-file-creation.js @@ -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);