Skip to content

Commit 9bee0c2

Browse files
author
Kuniwak
committed
Goodbye phantomjs
1 parent 75a7917 commit 9bee0c2

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

gulpfile.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22

3-
var util = require('util');
43
var path = require('path');
54
var gulp = require('gulp-help')(require('gulp'));
65
var merge = require('merge-stream');
@@ -33,18 +32,6 @@ var tasks = [
3332
];
3433

3534

36-
tasks.forEach(function(task) {
37-
var run = require('gulp-run');
38-
var url = util.format('http://localhost:%d/%s/', serve.PORT, task.id);
39-
40-
gulp.task(task.id, task.help, ['lint-' + task.id], function() {
41-
// We expected that mocha-phantomjs print colorized results, but it isn't.
42-
// So, I take a fast way that is using gulp-run.
43-
return run('$(npm bin)/mocha-phantomjs ' + url + ' || true').exec();
44-
});
45-
});
46-
47-
4835
tasks.forEach(function(task) {
4936
var stage = path.join('public', task.id);
5037
var js = path.join(stage, '**/*.js');

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@
3131
"gulp-eslint": "^0.6.0",
3232
"gulp-help": "^1.3.3",
3333
"gulp-nodemon": "^1.0.5",
34-
"gulp-run": "^1.6.6",
3534
"gulp-util": "^3.0.4",
3635
"merge-stream": "^0.1.7",
37-
"mocha-phantomjs": "^3.5.3",
3836
"stream-combiner2": "^1.0.2"
3937
},
4038
"dependencies": {

0 commit comments

Comments
 (0)