diff --git a/src/setup_node_env/exit_on_warning.js b/src/setup_node_env/exit_on_warning.js index a834c0acbff9..b5e1e908851f 100644 --- a/src/setup_node_env/exit_on_warning.js +++ b/src/setup_node_env/exit_on_warning.js @@ -31,7 +31,7 @@ */ if (process.noProcessWarnings !== true) { - var ignore = ['MaxListenersExceededWarning']; + var ignore = ['MaxListenersExceededWarning', 'NodeDeprecationWarning']; process.on('warning', function (warn) { if (ignore.includes(warn.name)) return;