Skip to content
This repository was archived by the owner on Apr 11, 2018. It is now read-only.

Commit 4c34351

Browse files
committed
Remove PhantomJS completely
1 parent 202b54a commit 4c34351

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

gulpfile.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const gulp = require('gulp');
66
const istanbul = require('gulp-istanbul');
77
const merge = require('merge-stream');
88
const mocha = require('gulp-mocha');
9-
const mochaPhantomJs = require('gulp-mocha-phantomjs');
109
const sorcery = require('sorcery');
1110
const source = require('vinyl-source-stream');
1211
const sourcemaps = require('gulp-sourcemaps');
@@ -80,17 +79,12 @@ gulp.task('instrument-test', function () {
8079
.pipe(istanbul.hookRequire());
8180
});
8281

83-
gulp.task('test-mocha', ['instrument-test'], function () {
82+
gulp.task('mocha', ['instrument-test'], function () {
8483
return gulp.src(['lib/*test.js', 'lib/**/*test.js'], {read: false})
8584
.pipe(mocha())
8685
.pipe(istanbul.writeReports());
8786
});
8887

89-
gulp.task('test-mocha-phantomjs', function () {
90-
return gulp.src('test-harness.html')
91-
.pipe(mochaPhantomJs());
92-
});
93-
9488
/**
9589
* Use `sorcery` to resolve the source map chain and point back to the TypeScript files.
9690
* (Without this task the source maps produced for the JavaScript bundle points into the
@@ -111,5 +105,5 @@ gulp.task('coveralls', function () {
111105
});
112106

113107
gulp.task('build', ['sorcery']);
114-
gulp.task('test', ['test-mocha', 'test-mocha-phantomjs']);
108+
gulp.task('test', ['mocha']);
115109
gulp.task('default', ['build']);

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"gulp-coveralls": "^0.1.4",
5151
"gulp-istanbul": "^1.1.1",
5252
"gulp-mocha": "^3.0.1",
53-
"gulp-mocha-phantomjs": "^0.12.0",
5453
"gulp-sourcemaps": "1.9.1",
5554
"gulp-typescript": "^3.1.3",
5655
"jsdoc": "3.4.3",

0 commit comments

Comments
 (0)