Skip to content

process exits with exit code 0 when tests fail #92

Description

@radfahrer

I have two gulp tasks, one that sets up istanbul with gulp-istanbul:

gulp.src(['lib/**/*.js'])
		.pipe(istanbul(istanbulOptions))
		.pipe(istanbul.hookRequire());

and the other that runs the tests

return gulp.src(['test/**/' + serviceName + '.js'])
		.pipe(jasmine(jasmineOptions))
		.pipe(istanbul.writeReports());

the second "depends" on the first

When I run this combination and tests fail, the exit code is 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions