1'use strict';
2
3// Used to test that `uncaughtException` is emitted
4
5const { callbackify } = require('util');
6
7{
8  async function fn() { }
9
10  const cbFn = callbackify(fn);
11
12  cbFn((err, ret) => {
13    throw new Error(__filename);
14  });
15}
16