Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from zendesk/dderidder/X-mochajs-pr-review-part4
Browse files Browse the repository at this point in the history
Remove test that asserts the problematic behavior
73rhodes authored Apr 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 7cf79d8 + 609f94f commit b71eaf3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/integration/options/posixExitCodes.spec.js
Original file line number Diff line number Diff line change
@@ -47,18 +47,6 @@ describe('--posix-exit-codes', function () {
});

describe('when not enabled, and with node options', function () {
it('should exit with code null on SIGABRT', function (done) {
var fixture = 'signals-sigabrt.fixture.js';
var args = ['--no-warnings'];
runMocha(fixture, args, function postmortem(err, res) {
if (err) {
return done(err);
}
expect(res.code, 'to be', null);
done();
});
});

it('should exit with the number of failed tests', function (done) {
var fixture = 'failing.fixture.js'; // contains three failing tests
var numFailures = 3;

0 comments on commit b71eaf3

Please sign in to comment.