File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,13 @@ describe('angular-fullstack:app', function() {
177177 } ) ;
178178
179179 if ( ! process . env . SKIP_E2E ) {
180- it ( 'should run e2e tests successfully' ) ; //'grunt test:e2e'
180+ it ( 'should run e2e tests successfully' , function ( ) {
181+ return runCmd ( 'grunt test:e2e' ) . should . be . fulfilled ( ) ;
182+ } ) ;
181183
182- it ( 'should run e2e tests successfully for production app' ) ; //'grunt test:e2e:prod'
184+ it ( 'should run e2e tests successfully for production app' , function ( ) {
185+ return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
186+ } ) ;
183187 }
184188 } ) ;
185189
@@ -279,7 +283,15 @@ describe('angular-fullstack:app', function() {
279283 } ) ;
280284
281285 if ( ! process . env . SKIP_E2E ) {
282- it ( 'should run e2e tests successfully' ) ;
286+ it ( 'should run e2e tests successfully' , function ( ) {
287+ return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
288+ } ) ;
289+
290+ it ( 'should run e2e tests successfully for production app' , function ( ) {
291+ return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
292+ } ) ;
293+ }
294+ } ) ;
283295
284296 //it('should run e2e tests successfully for production app', function (done) {
285297 // runTest('grunt test:e2e:prod', this, done, 240000);
You can’t perform that action at this time.
0 commit comments