mirror of https://github.com/zulip/zulip.git
node tests: Remove minor cruft from bots_data.js.
This commit is contained in:
parent
4f1d3f302b
commit
3a5b0841e4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue