File tree 1 file changed +22
-0
lines changed
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 () {
181
181
} ) ;
182
182
} ) ;
183
183
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
+
184
195
it ( 'should run server tests successfully' , function ( done ) {
185
196
this . timeout ( 60000 ) ;
186
197
gen . run ( { } , function ( ) {
@@ -251,6 +262,17 @@ describe('angular-fullstack generator', function () {
251
262
} ) ;
252
263
} ) ;
253
264
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
+
254
276
it ( 'should run server tests successfully' , function ( done ) {
255
277
this . timeout ( 60000 ) ;
256
278
gen . run ( { } , function ( ) {
You can’t perform that action at this time.
0 commit comments