@@ -15,7 +15,7 @@ import {
1515} from './test-helpers' ;
1616
1717const defaultOptions = {
18- buildtool : 'grunt ' ,
18+ buildtool : 'gulp ' ,
1919 transpiler : 'babel' ,
2020 markup : 'html' ,
2121 stylesheet : 'sass' ,
@@ -71,19 +71,19 @@ describe('angular-fullstack:app', function() {
7171 } ) ;
7272
7373 it ( 'passes JSCS' , function ( ) {
74- return runCmd ( 'grunt jscs' ) . should . be . fulfilled ( ) ;
74+ return runCmd ( 'gulp jscs' ) . should . be . fulfilled ( ) ;
7575 } ) ;
7676
77- it ( 'passes JSHint ' , function ( ) {
78- return runCmd ( 'grunt jshint ' ) . should . be . fulfilled ( ) ;
77+ it ( 'passes lint ' , function ( ) {
78+ return runCmd ( 'gulp lint:scripts ' ) . should . be . fulfilled ( ) ;
7979 } ) ;
8080
8181 it ( 'passes client tests' , function ( ) {
82- return runCmd ( 'grunt test:client' ) . should . be . fulfilled ( ) ;
82+ return runCmd ( 'gulp test:client' ) . should . be . fulfilled ( ) ;
8383 } ) ;
8484
8585 it ( 'passes server tests' , function ( ) {
86- return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
86+ return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
8787 } ) ;
8888
8989 describe ( 'with a generated endpoint' , function ( ) {
@@ -94,7 +94,7 @@ describe('angular-fullstack:app', function() {
9494 } ) ;
9595
9696 it ( 'should run server tests successfully' , function ( ) {
97- return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
97+ return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
9898 } ) ;
9999 } ) ;
100100
@@ -106,7 +106,7 @@ describe('angular-fullstack:app', function() {
106106 } ) ;
107107
108108 it ( 'should run server tests successfully' , function ( ) {
109- return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
109+ return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
110110 } ) ;
111111 } ) ;
112112
@@ -118,7 +118,7 @@ describe('angular-fullstack:app', function() {
118118 } ) ;
119119
120120 it ( 'should run server tests successfully' , function ( ) {
121- return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
121+ return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
122122 } ) ;
123123 } ) ;
124124
@@ -130,20 +130,20 @@ describe('angular-fullstack:app', function() {
130130 } ) ;
131131
132132 it ( 'should run server tests successfully' , function ( ) {
133- return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
133+ return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
134134 } ) ;
135135 } ) ;
136136
137137 if ( ! process . env . SKIP_E2E ) {
138138 it ( 'should run e2e tests successfully' , function ( ) {
139139 this . retries ( 2 ) ;
140- return runCmd ( 'grunt test:e2e' ) . should . be . fulfilled ( ) ;
140+ return runCmd ( 'gulp test:e2e' ) . should . be . fulfilled ( ) ;
141141 } ) ;
142142
143- it ( 'should run e2e tests successfully for production app' , function ( ) {
144- this . retries ( 2 ) ;
145- return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
146- } ) ;
143+ // it('should run e2e tests successfully for production app', function() {
144+ // this.retries(2);
145+ // return runCmd('gulp test:e2e:prod').should.be.fulfilled();
146+ // });
147147 }
148148 } ) ;
149149
@@ -163,10 +163,10 @@ describe('angular-fullstack:app', function() {
163163 }
164164 } ) . then ( _dir => {
165165 dir = _dir ;
166- jscsResult = runCmd ( 'grunt jscs' ) ;
167- lintResult = runCmd ( 'grunt jshint ' ) ;
168- clientTestResult = runCmd ( 'grunt test:client' ) ;
169- serverTestResult = runCmd ( 'grunt test:server' ) ;
166+ jscsResult = runCmd ( 'gulp jscs' ) ;
167+ lintResult = runCmd ( 'gulp lint:scripts ' ) ;
168+ clientTestResult = runCmd ( 'gulp test:client' ) ;
169+ serverTestResult = runCmd ( 'gulp test:server' ) ;
170170 } ) ;
171171 } ) ;
172172
@@ -180,7 +180,7 @@ describe('angular-fullstack:app', function() {
180180 return jscsResult . should . be . fulfilled ( ) ;
181181 } ) ;
182182
183- it ( 'passes JSHint ' , function ( ) {
183+ it ( 'passes lint ' , function ( ) {
184184 return lintResult . should . be . fulfilled ( ) ;
185185 } ) ;
186186
@@ -200,7 +200,7 @@ describe('angular-fullstack:app', function() {
200200 var clientTestResult ;
201201 var serverTestResult ;
202202 var testOptions = {
203- buildtool : 'grunt ' ,
203+ buildtool : 'gulp ' ,
204204 transpiler : 'ts' ,
205205 markup : 'jade' ,
206206 stylesheet : 'less' ,
@@ -217,10 +217,10 @@ describe('angular-fullstack:app', function() {
217217 before ( function ( ) {
218218 return runGen ( testOptions ) . then ( _dir => {
219219 dir = _dir ;
220- jscsResult = runCmd ( 'grunt jscs' ) ;
221- lintResult = runCmd ( 'grunt tslint ' ) ;
222- clientTestResult = runCmd ( 'grunt test:client' ) ;
223- serverTestResult = runCmd ( 'grunt test:server' ) ;
220+ jscsResult = runCmd ( 'gulp jscs' ) ;
221+ lintResult = runCmd ( 'gulp lint:scripts ' ) ;
222+ clientTestResult = runCmd ( 'gulp test:client' ) ;
223+ serverTestResult = runCmd ( 'gulp test:server' ) ;
224224 } ) ;
225225 } ) ;
226226
@@ -254,20 +254,20 @@ describe('angular-fullstack:app', function() {
254254 } ) ;
255255
256256 it ( 'should run server tests successfully' , function ( ) {
257- return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
257+ return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
258258 } ) ;
259259 } ) ;
260260
261261 if ( ! process . env . SKIP_E2E ) {
262262 it ( 'should run e2e tests successfully' , function ( ) {
263263 this . retries ( 2 ) ;
264- return runCmd ( 'grunt test:e2e' ) . should . be . fulfilled ( ) ;
264+ return runCmd ( 'gulp test:e2e' ) . should . be . fulfilled ( ) ;
265265 } ) ;
266266
267- it ( 'should run e2e tests successfully for production app' , function ( ) {
268- this . retries ( 2 ) ;
269- return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
270- } ) ;
267+ // it('should run e2e tests successfully for production app', function() {
268+ // this.retries(2);
269+ // return runCmd('gulp test:e2e:prod').should.be.fulfilled();
270+ // });
271271 }
272272 } ) ;
273273
@@ -278,7 +278,7 @@ describe('angular-fullstack:app', function() {
278278 var clientTestResult ;
279279 var serverTestResult ;
280280 var testOptions = {
281- buildtool : 'grunt ' ,
281+ buildtool : 'gulp ' ,
282282 transpiler : 'babel' ,
283283 markup : 'jade' ,
284284 stylesheet : 'css' ,
@@ -296,10 +296,10 @@ describe('angular-fullstack:app', function() {
296296 beforeEach ( function ( ) {
297297 return runGen ( testOptions ) . then ( _dir => {
298298 dir = _dir ;
299- jscsResult = runCmd ( 'grunt jscs' ) ;
300- lintResult = runCmd ( 'grunt jshint ' ) ;
301- clientTestResult = runCmd ( 'grunt test:client' ) ;
302- serverTestResult = runCmd ( 'grunt test:server' ) ;
299+ jscsResult = runCmd ( 'gulp jscs' ) ;
300+ lintResult = runCmd ( 'gulp lint:scripts ' ) ;
301+ clientTestResult = runCmd ( 'gulp test:client' ) ;
302+ serverTestResult = runCmd ( 'gulp test:server' ) ;
303303 } ) ;
304304 } ) ;
305305
@@ -333,20 +333,20 @@ describe('angular-fullstack:app', function() {
333333 } ) ;
334334
335335 it ( 'should run server tests successfully' , function ( ) {
336- return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
336+ return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
337337 } ) ;
338338 } ) ;
339339
340340 if ( ! process . env . SKIP_E2E ) {
341341 it ( 'should run e2e tests successfully' , function ( ) {
342342 this . retries ( 2 ) ;
343- return runCmd ( 'grunt test:e2e' ) . should . be . fulfilled ( ) ;
343+ return runCmd ( 'gulp test:e2e' ) . should . be . fulfilled ( ) ;
344344 } ) ;
345345
346- it ( 'should run e2e tests successfully for production app' , function ( ) {
347- this . retries ( 2 ) ;
348- return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
349- } ) ;
346+ // it('should run e2e tests successfully for production app', function() {
347+ // this.retries(2);
348+ // return runCmd('gulp test:e2e:prod').should.be.fulfilled();
349+ // });
350350 }
351351 } ) ;
352352
@@ -357,7 +357,7 @@ describe('angular-fullstack:app', function() {
357357 var clientTestResult ;
358358 var serverTestResult ;
359359 var testOptions = {
360- buildtool : 'grunt ' ,
360+ buildtool : 'gulp ' ,
361361 transpiler : 'ts' ,
362362 markup : 'jade' ,
363363 stylesheet : 'stylus' ,
@@ -375,10 +375,10 @@ describe('angular-fullstack:app', function() {
375375 beforeEach ( function ( ) {
376376 return runGen ( testOptions ) . then ( _dir => {
377377 dir = _dir ;
378- jscsResult = runCmd ( 'grunt jscs' ) ;
379- lintResult = runCmd ( 'grunt tslint ' ) ;
380- clientTestResult = runCmd ( 'grunt test:client' ) ;
381- serverTestResult = runCmd ( 'grunt test:server' ) ;
378+ jscsResult = runCmd ( 'gulp jscs' ) ;
379+ lintResult = runCmd ( 'gulp lint:scripts ' ) ;
380+ clientTestResult = runCmd ( 'gulp test:client' ) ;
381+ serverTestResult = runCmd ( 'gulp test:server' ) ;
382382 } ) ;
383383 } ) ;
384384
@@ -412,20 +412,20 @@ describe('angular-fullstack:app', function() {
412412 } ) ;
413413
414414 it ( 'should run server tests successfully' , function ( ) {
415- return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
415+ return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
416416 } ) ;
417417 } ) ;
418418
419419 if ( ! process . env . SKIP_E2E ) {
420420 it ( 'should run e2e tests successfully' , function ( ) {
421421 this . retries ( 2 ) ;
422- return runCmd ( 'grunt test:e2e' ) . should . be . fulfilled ( ) ;
422+ return runCmd ( 'gulp test:e2e' ) . should . be . fulfilled ( ) ;
423423 } ) ;
424424
425- it ( 'should run e2e tests successfully for production app' , function ( ) {
426- this . retries ( 2 ) ;
427- return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
428- } ) ;
425+ // it('should run e2e tests successfully for production app', function() {
426+ // this.retries(2);
427+ // return runCmd('gulp test:e2e:prod').should.be.fulfilled();
428+ // });
429429 }
430430 } ) ;
431431} ) ;
0 commit comments