0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/message
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
..
2100bytes.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
2100bytes.out Fix message tests 2010-06-19 17:41:34 -07:00
console_low_stack_space.js module: don't cache uninitialized builtins 2016-05-24 17:03:22 +02:00
console_low_stack_space.out module: don't cache uninitialized builtins 2016-05-24 17:03:22 +02:00
core_line_numbers.js test: remove unnecessary assignments 2015-12-26 18:00:02 -08:00
core_line_numbers.out src: rename "node" script to "bootstrap_node" 2016-06-17 14:14:27 -04:00
error_exit.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
error_exit.out test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
eval_messages.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
eval_messages.out lib: fix event race condition with -e 2017-03-24 09:19:09 -07:00
hello_world.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
hello_world.out Add message tests 2010-06-18 18:14:06 -07:00
max_tick_depth.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
max_tick_depth.out process: remove maxTickDepth from _tickCallback 2013-05-30 09:30:19 -07:00
message.status test: remove flaky status from eval_messages test 2015-10-20 12:16:00 -07:00
nexttick_throw.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
nexttick_throw.out src: rename "node" script to "bootstrap_node" 2016-06-17 14:14:27 -04:00
stack_overflow.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
stack_overflow.out bindings: update api 2013-03-20 01:11:01 +01:00
stdin_messages.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
stdin_messages.out lib: fix event race condition with -e 2017-03-24 09:19:09 -07:00
testcfg.py test: fail for missing output files 2016-12-12 16:11:12 +01:00
throw_custom_error.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_custom_error.out meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_in_line_with_tabs.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_in_line_with_tabs.out meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_non_error.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_non_error.out meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_null.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_null.out meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_undefined.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
throw_undefined.out meta: restore original copyright header 2017-03-10 11:23:48 -08:00
timeout_throw.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
timeout_throw.out timers: improve setTimeout/Interval performance 2016-10-01 02:58:42 -04:00
undefined_reference_in_new_context.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
undefined_reference_in_new_context.out vm: refactor vm module 2017-02-17 10:21:02 -08:00
unhandled_promise_trace_warnings.js test: add common.noop, default for common.mustCall() 2017-03-26 12:47:15 -07:00
unhandled_promise_trace_warnings.out test: fix over-dependence on native promise impl 2017-02-19 10:18:33 +01:00
vm_caught_custom_runtime_error.js vm: don't print out arrow message for custom error 2016-06-30 13:02:19 +02:00
vm_caught_custom_runtime_error.out vm: don't print out arrow message for custom error 2016-06-30 13:02:19 +02:00
vm_display_runtime_error.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
vm_display_runtime_error.out vm: refactor vm module 2017-02-17 10:21:02 -08:00
vm_display_syntax_error.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
vm_display_syntax_error.out vm: refactor vm module 2017-02-17 10:21:02 -08:00
vm_dont_display_runtime_error.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
vm_dont_display_runtime_error.out vm: refactor vm module 2017-02-17 10:21:02 -08:00
vm_dont_display_syntax_error.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
vm_dont_display_syntax_error.out vm: refactor vm module 2017-02-17 10:21:02 -08:00