File tree 1 file changed +15
-3
lines changed
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() {
177
177
} ) ;
178
178
179
179
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
+ } ) ;
181
183
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
+ } ) ;
183
187
}
184
188
} ) ;
185
189
@@ -279,7 +283,15 @@ describe('angular-fullstack:app', function() {
279
283
} ) ;
280
284
281
285
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
+ } ) ;
283
295
284
296
//it('should run e2e tests successfully for production app', function (done) {
285
297
// runTest('grunt test:e2e:prod', this, done, 240000);
You can’t perform that action at this time.
0 commit comments