0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +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
console_low_stack_space.js
console_low_stack_space.out
core_line_numbers.js
core_line_numbers.out
error_exit.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
error_exit.out
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
max_tick_depth.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
max_tick_depth.out
message.status
nexttick_throw.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
nexttick_throw.out
stack_overflow.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
stack_overflow.out
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
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
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_caught_custom_runtime_error.out
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