1'use strict';
2const common = require('../common');
3
4// This test verifies that DEP0018 does not occur when rejections are handled.
5process.on('warning', common.mustNotCall());
6process.on('unhandledRejection', common.mustCall());
7Promise.reject(new Error());
8