Merge Complete

This commit is contained in:
Luis Fernando Molina committed 2020-11-20 20:28:04 +01:00
1 parent 482ef7a81a
commit dabe23d505
6483 files changed

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// run with `node test_timeout_hang`
// TODO: integrate with CI tests somehow...
const { timeout } = require ('../base/functions')
;(async function () {
await timeout (10000, Promise.resolve ('foo'))
console.log ('Look ma, no hangs!') // should terminate the process immediately..
}) ()