@@ -72,15 +72,15 @@ describe('angular-fullstack:app', function() {
72
72
} ) ;
73
73
74
74
it ( 'passes lint' , function ( ) {
75
- return runCmd ( 'gulp lint:scripts ' ) . should . be . fulfilled ( ) ;
75
+ return runCmd ( 'npm run lint' ) . should . be . fulfilled ( ) ;
76
76
} ) ;
77
77
78
78
it ( 'passes client tests' , function ( ) {
79
- return runCmd ( 'gulp test:client' ) . should . be . fulfilled ( ) ;
79
+ return runCmd ( 'npm run test:client' ) . should . be . fulfilled ( ) ;
80
80
} ) ;
81
81
82
82
it ( 'passes server tests' , function ( ) {
83
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
83
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
84
84
} ) ;
85
85
86
86
describe ( 'with a generated endpoint' , function ( ) {
@@ -91,7 +91,7 @@ describe('angular-fullstack:app', function() {
91
91
} ) ;
92
92
93
93
it ( 'should run server tests successfully' , function ( ) {
94
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
94
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
95
95
} ) ;
96
96
} ) ;
97
97
@@ -103,7 +103,7 @@ describe('angular-fullstack:app', function() {
103
103
} ) ;
104
104
105
105
it ( 'should run server tests successfully' , function ( ) {
106
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
106
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
107
107
} ) ;
108
108
} ) ;
109
109
@@ -115,7 +115,7 @@ describe('angular-fullstack:app', function() {
115
115
} ) ;
116
116
117
117
it ( 'should run server tests successfully' , function ( ) {
118
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
118
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
119
119
} ) ;
120
120
} ) ;
121
121
@@ -127,7 +127,7 @@ describe('angular-fullstack:app', function() {
127
127
} ) ;
128
128
129
129
it ( 'should run server tests successfully' , function ( ) {
130
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
130
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
131
131
} ) ;
132
132
} ) ;
133
133
@@ -159,9 +159,9 @@ describe('angular-fullstack:app', function() {
159
159
}
160
160
} ) . then ( _dir => {
161
161
dir = _dir ;
162
- lintResult = runCmd ( 'gulp lint:scripts ' ) ;
163
- clientTestResult = runCmd ( 'gulp test:client' ) ;
164
- serverTestResult = runCmd ( 'gulp test:server' ) ;
162
+ lintResult = runCmd ( 'npm run lint' ) ;
163
+ clientTestResult = runCmd ( 'npm run test:client' ) ;
164
+ serverTestResult = runCmd ( 'npm run test:server' ) ;
165
165
} ) ;
166
166
} ) ;
167
167
@@ -207,9 +207,9 @@ describe('angular-fullstack:app', function() {
207
207
before ( function ( ) {
208
208
return runGen ( testOptions ) . then ( _dir => {
209
209
dir = _dir ;
210
- lintResult = runCmd ( 'gulp lint:scripts ' ) ;
211
- clientTestResult = runCmd ( 'gulp test:client' ) ;
212
- serverTestResult = runCmd ( 'gulp test:server' ) ;
210
+ lintResult = runCmd ( 'npm run lint' ) ;
211
+ clientTestResult = runCmd ( 'npm run test:client' ) ;
212
+ serverTestResult = runCmd ( 'npm run test:server' ) ;
213
213
} ) ;
214
214
} ) ;
215
215
@@ -239,7 +239,7 @@ describe('angular-fullstack:app', function() {
239
239
} ) ;
240
240
241
241
it ( 'should run server tests successfully' , function ( ) {
242
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
242
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
243
243
} ) ;
244
244
} ) ;
245
245
@@ -281,8 +281,8 @@ describe('angular-fullstack:app', function() {
281
281
beforeEach ( function ( ) {
282
282
return runGen ( testOptions ) . then ( _dir => {
283
283
dir = _dir ;
284
- lintResult = runCmd ( 'gulp lint:scripts ' ) ;
285
- clientTestResult = runCmd ( 'gulp test:client' ) ;
284
+ lintResult = runCmd ( 'npm run lint' ) ;
285
+ clientTestResult = runCmd ( 'npm run test:client' ) ;
286
286
} ) ;
287
287
} ) ;
288
288
@@ -301,7 +301,7 @@ describe('angular-fullstack:app', function() {
301
301
} ) ;
302
302
303
303
it . skip ( 'should run server tests successfully' , function ( ) {
304
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
304
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
305
305
} ) ;
306
306
307
307
describe . skip ( 'with a generated endpoint' , function ( ) {
@@ -312,7 +312,7 @@ describe('angular-fullstack:app', function() {
312
312
} ) ;
313
313
314
314
it ( 'should run server tests successfully' , function ( ) {
315
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
315
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
316
316
} ) ;
317
317
} ) ;
318
318
@@ -353,9 +353,9 @@ describe('angular-fullstack:app', function() {
353
353
beforeEach ( function ( ) {
354
354
return runGen ( testOptions ) . then ( _dir => {
355
355
dir = _dir ;
356
- lintResult = runCmd ( 'gulp lint:scripts ' ) ;
357
- clientTestResult = runCmd ( 'gulp test:client' ) ;
358
- serverTestResult = runCmd ( 'gulp test:server' ) ;
356
+ lintResult = runCmd ( 'npm run lint' ) ;
357
+ clientTestResult = runCmd ( 'npm run test:client' ) ;
358
+ serverTestResult = runCmd ( 'npm run test:server' ) ;
359
359
} ) ;
360
360
} ) ;
361
361
@@ -385,7 +385,7 @@ describe('angular-fullstack:app', function() {
385
385
} ) ;
386
386
387
387
it ( 'should run server tests successfully' , function ( ) {
388
- return runCmd ( 'gulp test:server' ) . should . be . fulfilled ( ) ;
388
+ return runCmd ( 'npm run test:server' ) . should . be . fulfilled ( ) ;
389
389
} ) ;
390
390
} ) ;
391
391
0 commit comments