0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/test/addons
James M Snell 4f2e372716 test: add common.noop, default for common.mustCall()
Export a new common.noop no-operation function for general use.
Allow using common.mustCall() without a fn argument to simplify
test cases.

Replace various non-op functions throughout tests with common.noop

PR-URL: https://github.com/nodejs/node/pull/12027
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
2017-03-26 12:47:15 -07:00
..
async-hello-world test: add common.noop, default for common.mustCall() 2017-03-26 12:47:15 -07:00
at-exit test: rename target to exports for consistency 2016-10-19 19:57:02 +02:00
buffer-free-callback test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
heap-profiler test: add common.noop, default for common.mustCall() 2017-03-26 12:47:15 -07:00
hello-world test: use const for all require() calls 2017-01-02 18:28:18 -05:00
hello-world-function-export test: use const for all require() calls 2017-01-02 18:28:18 -05:00
load-long-path test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
make-callback src: make cross-context MakeCallback() calls work 2016-10-25 13:18:01 +02:00
make-callback-recurse test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
new-target test: add new.target add-on regression test 2016-11-21 14:34:25 +01:00
node-module-version test: improve module version mismatch error check 2017-01-09 12:05:02 -05:00
null-buffer-neuter test: rename target to exports for consistency 2016-10-19 19:57:02 +02:00
openssl-binding test: make tests pass when configured without-ssl 2017-03-04 20:16:52 +01:00
parse-encoding test: rename target to exports for consistency 2016-10-19 19:57:02 +02:00
repl-domain-abort meta: restore original copyright header 2017-03-10 11:23:48 -08:00
stringbytes-external-exceed-max test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
symlinked-module test: rename target to exports for consistency 2016-10-19 19:57:02 +02:00
zlib-binding test: enable addons test to pass with debug build 2016-10-06 10:27:30 -07:00
.gitignore
testcfg.py