Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: refactor test-beforeexit-event-exit.js
PR-URL: #10577
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
cjihrig committed Jan 5, 2017
commit 7f69972cf09156fef265aa8ff90ed7acb4c650d8
5 changes: 2 additions & 3 deletions test/parallel/test-beforeexit-event-exit.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
'use strict';
require('../common');
const assert = require('assert');
const common = require('../common');

process.on('beforeExit', function() {
assert(false, 'exit should not allow this to occur');
common.fail('exit should not allow this to occur');
});

process.exit();