Skip to content

Commit

Permalink
stop using gulp - for end2end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
larsthorup committed Mar 2, 2015
1 parent d18e1ac commit 4849163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
10 changes: 0 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ var paths = {
};
paths.code = [paths.src, paths.test.all, paths.tool, paths.demo];

// test
var mocha = require('gulp-mocha');

// end2end
gulp.task('end2end', function () {
return gulp
.src(paths.test.end2end)
.pipe(mocha({reporter: 'spec'}));
});

// run
var shell = require('gulp-shell');
gulp.task('run', shell.task([nodeExe + ' src/cli.js']));
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"gulp": "^3.8.7",
"gulp-changed": "^1.0.0",
"gulp-debug": "^2.0.0",
"gulp-mocha": "^2.0.0",
"gulp-mocha-phantomjs": "^0.5.1",
"gulp-open": "^0.3.1",
"gulp-shell": "^0.3.0",
Expand All @@ -52,9 +51,9 @@
"unittest": "mocha -R spec --require test/unit/setup --recursive test/unit",
"cover": "istanbul cover node_modules/mocha/bin/_mocha -- -R dot --require test/unit/setup --recursive test/unit",
"cover-report": "opener dist/coverage/lcov-report/index.html",
"end2end": "gulp end2end",
"end2end": "mocha -R spec --require test/end2end/setup --recursive test/end2end",
"demotest": "gulp demotest",
"test": "npm run lint && npm run cover && gulp end2end && gulp demotest",
"test": "npm run lint && npm run cover && npm run end2end && gulp demotest",
"package": "npm shrinkwrap && rm -rf dist && mkdir dist && cp --recursive --target-directory=dist src demo package.json npm-shrinkwrap.json && rm -rf npm-shrinkwrap.json",
"dev": "npm install && npm run lint && npm run cover && npm run end2end",
"-- run locally ": "--",
Expand Down

0 comments on commit 4849163

Please sign in to comment.