Skip to content

Commit 9e073d5

Browse files
committed
test(gen): remove JSCS tests
1 parent 4dd71a9 commit 9e073d5

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/test/main.test.js

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ describe('angular-fullstack:app', function() {
7070
return assertOnlyFiles(expectedFiles, path.normalize(dir)).should.be.fulfilled();
7171
});
7272

73-
it('passes JSCS', function() {
74-
return runCmd('gulp jscs').should.be.fulfilled();
75-
});
76-
7773
it('passes lint', function() {
7874
return runCmd('gulp lint:scripts').should.be.fulfilled();
7975
});
@@ -149,7 +145,6 @@ describe('angular-fullstack:app', function() {
149145

150146
describe('default settings using existing `.yo-rc.json`', function() {
151147
var dir;
152-
var jscsResult;
153148
var lintResult;
154149
var clientTestResult;
155150
var serverTestResult;
@@ -163,7 +158,6 @@ describe('angular-fullstack:app', function() {
163158
}
164159
}).then(_dir => {
165160
dir = _dir;
166-
jscsResult = runCmd('gulp jscs');
167161
lintResult = runCmd('gulp lint:scripts');
168162
clientTestResult = runCmd('gulp test:client');
169163
serverTestResult = runCmd('gulp test:server');
@@ -176,10 +170,6 @@ describe('angular-fullstack:app', function() {
176170
return assertOnlyFiles(expectedFiles, path.normalize(dir)).should.be.fulfilled();
177171
});
178172

179-
it('passes JSCS', function() {
180-
return jscsResult.should.be.fulfilled();
181-
});
182-
183173
it('passes lint', function() {
184174
return lintResult.should.be.fulfilled();
185175
});
@@ -195,7 +185,6 @@ describe('angular-fullstack:app', function() {
195185

196186
describe('with TypeScript, Jade, Jasmine, LESS, & OAuth', function() {
197187
var dir;
198-
var jscsResult;
199188
var lintResult;
200189
var clientTestResult;
201190
var serverTestResult;
@@ -217,7 +206,6 @@ describe('angular-fullstack:app', function() {
217206
before(function() {
218207
return runGen(testOptions).then(_dir => {
219208
dir = _dir;
220-
jscsResult = runCmd('gulp jscs');
221209
lintResult = runCmd('gulp lint:scripts');
222210
clientTestResult = runCmd('gulp test:client');
223211
serverTestResult = runCmd('gulp test:server');
@@ -230,10 +218,6 @@ describe('angular-fullstack:app', function() {
230218
return assertOnlyFiles(expectedFiles, path.normalize(dir)).should.be.fulfilled();
231219
});
232220

233-
it('passes JSCS', function() {
234-
return jscsResult.should.be.fulfilled();
235-
});
236-
237221
it('passes lint', function() {
238222
return lintResult.should.be.fulfilled();
239223
});
@@ -273,7 +257,6 @@ describe('angular-fullstack:app', function() {
273257

274258
describe('with sequelize models, auth', function() {
275259
var dir;
276-
var jscsResult;
277260
var lintResult;
278261
var clientTestResult;
279262
var serverTestResult;
@@ -296,7 +279,6 @@ describe('angular-fullstack:app', function() {
296279
beforeEach(function() {
297280
return runGen(testOptions).then(_dir => {
298281
dir = _dir;
299-
jscsResult = runCmd('gulp jscs');
300282
lintResult = runCmd('gulp lint:scripts');
301283
clientTestResult = runCmd('gulp test:client');
302284
serverTestResult = runCmd('gulp test:server');
@@ -309,10 +291,6 @@ describe('angular-fullstack:app', function() {
309291
return assertOnlyFiles(expectedFiles, path.normalize(dir)).should.be.fulfilled();
310292
});
311293

312-
it('passes JSCS', function() {
313-
return jscsResult.should.be.fulfilled();
314-
});
315-
316294
it('passes lint', function() {
317295
return lintResult.should.be.fulfilled();
318296
});
@@ -352,7 +330,6 @@ describe('angular-fullstack:app', function() {
352330

353331
describe('with TypeScript, Mocha + Chai (should) and no server options', function() {
354332
var dir;
355-
var jscsResult;
356333
var lintResult;
357334
var clientTestResult;
358335
var serverTestResult;
@@ -375,7 +352,6 @@ describe('angular-fullstack:app', function() {
375352
beforeEach(function() {
376353
return runGen(testOptions).then(_dir => {
377354
dir = _dir;
378-
jscsResult = runCmd('gulp jscs');
379355
lintResult = runCmd('gulp lint:scripts');
380356
clientTestResult = runCmd('gulp test:client');
381357
serverTestResult = runCmd('gulp test:server');
@@ -388,10 +364,6 @@ describe('angular-fullstack:app', function() {
388364
return assertOnlyFiles(expectedFiles, path.normalize(dir)).should.be.fulfilled();
389365
});
390366

391-
it('passes JSCS', function() {
392-
return jscsResult.should.be.fulfilled();
393-
});
394-
395367
it('passes lint', function() {
396368
return lintResult.should.be.fulfilled();
397369
});

0 commit comments

Comments
 (0)