blob: 1fbe7c8ebfd7c59c3372d59a4b96ff81c05a31e9 [file] [edit]
'use strict';
// Used to test that `uncaughtException` is emitted
const { callbackify } = require('util');
{
async function fn() { }
const cbFn = callbackify(fn);
cbFn((err, ret) => {
throw new Error(__filename);
});
}