node/test/async-hooks
Gerhard Stoebich 232f6e1154
test: AsyncLocalStorage works with thenables
This adds a test to verify that AsyncLocalStorage works with thenables.

Backport-PR-URL: https://github.com/nodejs/node/pull/34776
PR-URL: https://github.com/nodejs/node/pull/34008
Refs: https://github.com/nodejs/node/pull/33778
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-09-23 22:46:54 +02:00
..
async-hooks.status test: unflake async-hooks/test-statwatcher 2020-04-22 18:34:44 +02:00
coverage.md
hook-checks.js
init-hooks.js tools: enable no-else-return lint rule 2020-07-14 12:13:31 -07:00
test-async-await.js
test-async-exec-resource-http-32060.js src: pass resource object along with InternalMakeCallback 2020-04-28 16:00:43 +02:00
test-async-exec-resource-http.js async_hooks: add executionAsyncResource 2020-04-28 16:00:42 +02:00
test-async-exec-resource-match.js async_hooks: executionAsyncResource matches in hooks 2020-04-28 16:00:43 +02:00
test-async-local-storage-args.js async_hooks: merge run and exit methods 2020-04-28 16:00:45 +02:00
test-async-local-storage-async-await.js async_hooks: merge run and exit methods 2020-04-28 16:00:45 +02:00
test-async-local-storage-async-functions.js async_hooks: merge run and exit methods 2020-04-28 16:00:45 +02:00
test-async-local-storage-enable-disable.js async_hooks: merge run and exit methods 2020-04-28 16:00:45 +02:00
test-async-local-storage-enter-with.js async_hooks: add sync enterWith to ALS 2020-04-28 16:00:44 +02:00
test-async-local-storage-errors.js async_hooks: merge run and exit methods 2020-04-28 16:00:45 +02:00
test-async-local-storage-gcable.js async_hooks: merge run and exit methods 2020-04-28 16:00:45 +02:00
test-async-local-storage-http.js async_hooks: add store arg in AsyncLocalStorage 2020-04-28 16:00:43 +02:00
test-async-local-storage-misc-stores.js async_hooks: merge run and exit methods 2020-04-28 16:00:45 +02:00
test-async-local-storage-nested.js async_hooks: merge run and exit methods 2020-04-28 16:00:45 +02:00
test-async-local-storage-no-mix-contexts.js async_hooks: add store arg in AsyncLocalStorage 2020-04-28 16:00:43 +02:00
test-async-local-storage-promises.js async_hooks: add store arg in AsyncLocalStorage 2020-04-28 16:00:43 +02:00
test-async-local-storage-run-resource.js async_hooks: avoid unneeded AsyncResource creation 2020-09-22 23:48:03 +02:00
test-async-local-storage-thenable.js test: AsyncLocalStorage works with thenables 2020-09-23 22:46:54 +02:00
test-callback-error.js
test-crypto-pbkdf2.js
test-crypto-randomBytes.js
test-destroy-not-blocked.js async_hooks: execute destroy hooks earlier 2020-09-22 19:54:55 +02:00
test-disable-in-init.js
test-embedder.api.async-resource-no-type.js test: refactor common.expectsError 2020-04-01 12:58:33 -04:00
test-embedder.api.async-resource.js test: refactor common.expectsError 2020-04-01 12:58:33 -04:00
test-embedder.api.async-resource.runInAsyncScope.js
test-emit-after-on-destroyed.js
test-emit-before-after.js async_hooks: remove internal only error checking 2020-03-16 19:40:47 -07:00
test-emit-before-on-destroyed.js
test-emit-init.js async_hooks: remove internal only error checking 2020-03-16 19:40:47 -07:00
test-enable-disable.js
test-enable-in-init.js
test-filehandle-no-reuse.js async_hooks: avoid resource reuse by FileHandle 2020-04-22 17:39:48 +02:00
test-fseventwrap.js test: skip the unsupported test cases for IBM i 2020-02-06 02:49:15 +00:00
test-fsreqcallback-access.js
test-fsreqcallback-readFile.js
test-getaddrinforeqwrap.js
test-getnameinforeqwrap.js
test-graph.fsreq-readFile.js
test-graph.http.js http: fix incorrect headersTimeout measurement 2020-09-15 21:39:03 +01:00
test-graph.intervals.js
test-graph.pipe.js
test-graph.pipeconnect.js
test-graph.shutdown.js
test-graph.signal.js
test-graph.statwatcher.js
test-graph.tcp.js
test-graph.timeouts.js
test-graph.tls-write-12.js
test-graph.tls-write.js net: wait for shutdown to complete before closing 2020-04-22 19:13:01 +02:00
test-http-agent-handle-reuse.js
test-httpparser-reuse.js
test-httpparser.request.js
test-httpparser.response.js
test-immediate.js
test-improper-order.js
test-improper-unwind.js
test-late-hook-enable.js src: add callback scope for native immediates 2020-09-23 20:07:58 +02:00
test-net-get-connections.js
test-nexttick-default-trigger.js
test-no-assert-when-disabled.js
test-pipeconnectwrap.js test: work around ENOTEMPTY when cleaning tmp dir 2020-02-06 02:49:29 +00:00
test-pipewrap.js
test-promise.chain-promise-before-init-hooks.js
test-promise.js
test-promise.promise-before-init-hooks.js
test-querywrap.js
test-queue-microtask.js
test-shutdownwrap.js
test-signalwrap.js
test-statwatcher.js test: unflake async-hooks/test-statwatcher 2020-04-22 18:34:44 +02:00
test-tcpwrap.js
test-timers.setInterval.js
test-timers.setTimeout.js
test-tlswrap.js
test-ttywrap.readstream.js
test-udpsendwrap.js
test-udpwrap.js
test-writewrap.js
test-zlib.zlib-binding.deflate.js
testcfg.py
verify-graph.js