File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,17 @@ describe('angular-fullstack generator', function () {
181181 } ) ;
182182 } ) ;
183183
184+ it ( 'should pass jshint' , function ( done ) {
185+ this . timeout ( 60000 ) ;
186+ gen . run ( { } , function ( ) {
187+ exec ( 'grunt jshint' , function ( error , stdout , stderr ) {
188+ expect ( stdout ) . to . contain ( 'Running "jshint:server" (jshint) task\u001b[24m\n\n✔ No problems' ) ;
189+ expect ( stdout ) . to . contain ( 'Running "jshint:all" (jshint) task\u001b[24m\n\n✔ No problems' ) ;
190+ done ( ) ;
191+ } ) ;
192+ } ) ;
193+ } ) ;
194+
184195 it ( 'should run server tests successfully' , function ( done ) {
185196 this . timeout ( 60000 ) ;
186197 gen . run ( { } , function ( ) {
@@ -251,6 +262,17 @@ describe('angular-fullstack generator', function () {
251262 } ) ;
252263 } ) ;
253264
265+ it ( 'should pass jshint' , function ( done ) {
266+ this . timeout ( 60000 ) ;
267+ gen . run ( { } , function ( ) {
268+ exec ( 'grunt jshint' , function ( error , stdout , stderr ) {
269+ expect ( stdout ) . to . contain ( 'Running "jshint:server" (jshint) task\u001b[24m\n\n✔ No problems' ) ;
270+ expect ( stdout ) . to . contain ( 'Running "jshint:all" (jshint) task\u001b[24m\n\n✔ No problems' ) ;
271+ done ( ) ;
272+ } ) ;
273+ } ) ;
274+ } ) ;
275+
254276 it ( 'should run server tests successfully' , function ( done ) {
255277 this . timeout ( 60000 ) ;
256278 gen . run ( { } , function ( ) {
You can’t perform that action at this time.
0 commit comments