Skip to content

Commit

Permalink
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
  • Loading branch information
73rhodes committed Apr 23, 2024
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
Expand Up @@ -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;
Expand Down

0 comments on commit b71eaf3

Please sign in to comment.