-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get default options from test/mocha.opts
#44
Comments
@sindresorhus is it even good idea to use Gulp in Travis CI? Does Gulp with gulp-mocha returns |
It's just as easy to just run it from Line 16 in 44e352d
Yes. |
@sindresorhus My Gulp task is: gulp.task('test', function () {
require('./');
var mocha = require('gulp-mocha');
return gulp.src('test/*.js', { read: false })
.pipe(mocha());
}); But, when I run I updated |
@sindresorhus I create separated issue about exit code: #45 |
@ilanbiala but what about |
@ai you should create issue about it in |
_bump_ any word on having this plugin grab the default options from |
I was looking for this too. Unfortunately parsing So unfortunately I have to agree, mocha should fix this... |
My pull request #119 replies to this need :) |
Should be fixed in the latest release: https://github.com/sindresorhus/gulp-mocha/releases/tag/v4.0.0 |
By default Mocha gets default options from
test/mocha.opts
. This plugin should did it too.If I need to run only one test, I will execute
mocha test/wrong.js
. But in Travis CI gulp plugin is better. I want to combine this two runner methods, but I need common place to put options,The text was updated successfully, but these errors were encountered: