Skip to content
Closed
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: use common.crashOnUnhandledRejection()
Add common.crashOnUnhandledRejection to test/parallel/test-microtask-queue-run.js
  • Loading branch information
sorarize committed Nov 22, 2017
commit 4aa39a2d4d86981349cc84377cc80ddc217efb36
4 changes: 3 additions & 1 deletion test/parallel/test-microtask-queue-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
require('../common');
const common = require('../common');
const assert = require('assert');

common.crashOnUnhandledRejection();

function enqueueMicrotask(fn) {
Promise.resolve().then(fn);
}
Expand Down