How do I use AVA to test a library that registers an unhandledRejection callback:
unhandledRejection
process.on(\'unhandledRejection\', e => // do something ef