diff --git a/frontend_tests/node_tests/bot_data.js b/frontend_tests/node_tests/bot_data.js index 9299e49280..d2072e37db 100644 --- a/frontend_tests/node_tests/bot_data.js +++ b/frontend_tests/node_tests/bot_data.js @@ -5,10 +5,7 @@ global.patch_builtin('_', patched_underscore); zrequire('people'); zrequire('bot_data'); -set_global('$', function (f) { - if (f) { - return f(); - } +set_global('$', function () { return {trigger: function () {}}; }); set_global('document', null);