console.error(e)
})
}),
+ Benchmark.add('voided promise', () => {
+ // eslint-disable-next-line no-void
+ void asyncFunction()
+ }),
Benchmark.add('mishandled promise', () => {
asyncFunction()
}),
format: 'table.html',
details: true
})
-)
+).catch(err => {
+ console.error(err)
+})