Skip to content

Commit 7c03fa5

Browse files
committed
refactor(gen:test): .skip e2e instead of commenting them out
1 parent f8ce5cb commit 7c03fa5

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

Diff for: src/test/main.test.js

+37-37
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function runEndpointGen(name, opt={}) {
5050

5151
gen
5252
.on('error', reject)
53-
.on('end', () => resolve())
53+
.on('end', () => resolve());
5454
});
5555
}
5656

@@ -131,15 +131,15 @@ describe('angular-fullstack:app', function() {
131131
});
132132

133133
if(!process.env.SKIP_E2E) {
134-
// it('should run e2e tests successfully', function() {
135-
// this.retries(2);
136-
// return runCmd('gulp test:e2e').should.be.fulfilled();
137-
// });
138-
139-
// it('should run e2e tests successfully for production app', function() {
140-
// this.retries(2);
141-
// return runCmd('gulp test:e2e:prod').should.be.fulfilled();
142-
// });
134+
it.skip('should run e2e tests successfully', function() {
135+
this.retries(2);
136+
return runCmd('gulp test:e2e').should.be.fulfilled();
137+
});
138+
139+
it.skip('should run e2e tests successfully for production app', function() {
140+
this.retries(2);
141+
return runCmd('gulp test:e2e:prod').should.be.fulfilled();
142+
});
143143
}
144144
});
145145

@@ -243,15 +243,15 @@ describe('angular-fullstack:app', function() {
243243
});
244244

245245
if(!process.env.SKIP_E2E) {
246-
// it('should run e2e tests successfully', function() {
247-
// this.retries(2);
248-
// return runCmd('gulp test:e2e').should.be.fulfilled();
249-
// });
250-
251-
// it('should run e2e tests successfully for production app', function() {
252-
// this.retries(2);
253-
// return runCmd('gulp test:e2e:prod').should.be.fulfilled();
254-
// });
246+
it.skip('should run e2e tests successfully', function() {
247+
this.retries(2);
248+
return runCmd('gulp test:e2e').should.be.fulfilled();
249+
});
250+
251+
it.skip('should run e2e tests successfully for production app', function() {
252+
this.retries(2);
253+
return runCmd('gulp test:e2e:prod').should.be.fulfilled();
254+
});
255255
}
256256
});
257257

@@ -315,15 +315,15 @@ describe('angular-fullstack:app', function() {
315315
});
316316

317317
if(!process.env.SKIP_E2E) {
318-
// it('should run e2e tests successfully', function() {
319-
// this.retries(2);
320-
// return runCmd('gulp test:e2e').should.be.fulfilled();
321-
// });
322-
323-
// it('should run e2e tests successfully for production app', function() {
324-
// this.retries(2);
325-
// return runCmd('gulp test:e2e:prod').should.be.fulfilled();
326-
// });
318+
it.skip('should run e2e tests successfully', function() {
319+
this.retries(2);
320+
return runCmd('gulp test:e2e').should.be.fulfilled();
321+
});
322+
323+
it.skip('should run e2e tests successfully for production app', function() {
324+
this.retries(2);
325+
return runCmd('gulp test:e2e:prod').should.be.fulfilled();
326+
});
327327
}
328328
});
329329

@@ -388,15 +388,15 @@ describe('angular-fullstack:app', function() {
388388
});
389389

390390
if(!process.env.SKIP_E2E) {
391-
// it('should run e2e tests successfully', function() {
392-
// this.retries(2);
393-
// return runCmd('gulp test:e2e').should.be.fulfilled();
394-
// });
395-
396-
// it('should run e2e tests successfully for production app', function() {
397-
// this.retries(2);
398-
// return runCmd('gulp test:e2e:prod').should.be.fulfilled();
399-
// });
391+
it.skip('should run e2e tests successfully', function() {
392+
this.retries(2);
393+
return runCmd('gulp test:e2e').should.be.fulfilled();
394+
});
395+
396+
it.skip('should run e2e tests successfully for production app', function() {
397+
this.retries(2);
398+
return runCmd('gulp test:e2e:prod').should.be.fulfilled();
399+
});
400400
}
401401
});
402402
});

0 commit comments

Comments
 (0)