Current Folder
This commit is contained in:
1 parent
8b3382289b
commit
cfcada880d
4379 files changed
No files matched your search
-12
@@ -1,12 +0,0 @@
|
||||
// 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..
|
||||
|
||||
}) ()
|
||||
Reference in new issue
Block a user