node/test/async-hooks
garygsc b27e2408af test: use arrow functions in async-hooks tests
Convert all anonymous callback functions in `test/async-hooks/*.js`
to use arrow functions.

`writing-tests.md` states to use arrow functions when appropriate.

PR-URL: https://github.com/nodejs/node/pull/30137
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2019-12-02 20:03:17 +05:30
..
async-hooks.status test: remove flaky status for test-statwatcher 2019-09-03 07:09:46 -07:00
coverage.md async_hooks: fixup do not reuse HTTPParser 2019-05-03 16:02:55 +02:00
hook-checks.js tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
init-hooks.js async_hooks: don't reuse resource in HttpAgent 2019-05-19 23:17:06 +02:00
test-async-await.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-callback-error.js test: disable core dumps before running crash test 2019-09-08 21:19:35 -07:00
test-crypto-pbkdf2.js test: move tick.js from test/async-hooks to test/common 2018-10-15 07:41:12 +02:00
test-crypto-randomBytes.js test: move tick.js from test/async-hooks to test/common 2018-10-15 07:41:12 +02:00
test-disable-in-init.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-embedder.api.async-resource-no-type.js async_hooks,doc: some async_hooks improvements 2017-09-15 09:06:13 -07:00
test-embedder.api.async-resource.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-embedder.api.async-resource.runInAsyncScope.js async_hooks: deprecate unsafe emit{Before,After} 2018-02-09 13:03:34 -08:00
test-emit-after-on-destroyed.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-emit-before-after.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-emit-before-on-destroyed.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-emit-init.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
test-enable-disable.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-enable-in-init.js test: refactor test-enable-in-init 2018-12-13 17:28:55 -08:00
test-fseventwrap.js test: move tick.js from test/async-hooks to test/common 2018-10-15 07:41:12 +02:00
test-fsreqcallback-access.js test: move tick.js from test/async-hooks to test/common 2018-10-15 07:41:12 +02:00
test-fsreqcallback-readFile.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-getaddrinforeqwrap.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-getnameinforeqwrap.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-graph.fsreq-readFile.js src: rename PROVIDER_FSREQWRAP to PROVIDER_FSREQCALLBACK 2018-08-01 15:07:14 -04:00
test-graph.http.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-graph.intervals.js src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
test-graph.pipe.js test: remove unused param in test-graph.pipe 2017-08-29 16:31:45 -03:00
test-graph.pipeconnect.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-graph.shutdown.js async_wrap: add provider types for net server 2017-11-28 02:50:54 +01:00
test-graph.signal.js test: permit test-graph.signal to work without test runner 2019-06-21 20:57:32 -06:00
test-graph.statwatcher.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-graph.tcp.js test: remove common.PORT from parallel tests 2017-12-05 00:07:27 -08:00
test-graph.timeouts.js src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
test-graph.tls-write-12.js tls: support TLSv1.3 2019-03-20 07:48:25 -07:00
test-graph.tls-write.js test: move test_[key|ca|cert] to fixtures/keys/ 2019-06-10 09:56:55 -07:00
test-http-agent-handle-reuse.js async_hooks: don't reuse resource in HttpAgent 2019-05-19 23:17:06 +02:00
test-httpparser-reuse.js test: use consistent test naming 2019-07-18 11:48:58 -07:00
test-httpparser.request.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-httpparser.response.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-immediate.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-improper-order.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-improper-unwind.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-late-hook-enable.js process: code cleanup for nextTick 2019-06-09 06:52:39 +02:00
test-net-get-connections.js async-hooks,net: ensure asyncId=null if no handle 2017-07-05 15:51:08 +02:00
test-nexttick-default-trigger.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-no-assert-when-disabled.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-pipeconnectwrap.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-pipewrap.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-promise.chain-promise-before-init-hooks.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test-promise.js test: remove unused function arguments in async-hooks tests 2018-11-18 23:31:35 -08:00
test-promise.promise-before-init-hooks.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-querywrap.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-queue-microtask.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-shutdownwrap.js net: use `_final` instead of `on('finish')` 2018-02-21 20:42:18 +01:00
test-signalwrap.js test: permit test-signalwrap to work without test runner 2019-09-08 10:10:38 -07:00
test-statwatcher.js test: add logging to statwatcher test 2019-06-19 22:12:01 -06:00
test-tcpwrap.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-timers.setInterval.js timers: reschedule interval even if it threw 2018-04-29 16:51:05 +02:00
test-timers.setTimeout.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-tlswrap.js test: move test_[key|ca|cert] to fixtures/keys/ 2019-06-10 09:56:55 -07:00
test-ttywrap.readstream.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-udpsendwrap.js dgram: use `uv_udp_try_send()` 2019-10-05 17:48:10 -07:00
test-udpwrap.js test: move tick.js from test/async-hooks to test/common 2018-10-15 07:41:12 +02:00
test-writewrap.js test: make sure WriteWrap tests are actually async 2018-02-14 10:00:26 +01:00
test-zlib.zlib-binding.deflate.js test: remove usage of `process.binding()` 2019-03-07 17:43:21 +01:00
testcfg.py test: remove custom AsyncHooksTestConfiguration 2018-07-30 23:50:17 -04:00
verify-graph.js test: relax check in verify-graph 2019-05-19 23:09:42 +02:00