nodejs/test/parallel/test-timers-unrefed-in-befo...

8 lines
154 B
JavaScript

'use strict';
const common = require('../common');
process.on('beforeExit', common.mustCall(() => {
setTimeout(common.mustNotCall(), 1).unref();
}));