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('people');
|
||||||
zrequire('bot_data');
|
zrequire('bot_data');
|
||||||
|
|
||||||
set_global('$', function (f) {
|
set_global('$', function () {
|
||||||
if (f) {
|
|
||||||
return f();
|
|
||||||
}
|
|
||||||
return {trigger: function () {}};
|
return {trigger: function () {}};
|
||||||
});
|
});
|
||||||
set_global('document', null);
|
set_global('document', null);
|
||||||
|
|
Loading…
Reference in New Issue