mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Add stub_out_jquery() for node tests.
This commit is contained in:
@@ -2,13 +2,7 @@ add_dependencies({
|
||||
util: 'js/util.js'
|
||||
});
|
||||
|
||||
set_global('$', function () {
|
||||
return {
|
||||
on: function () {
|
||||
return;
|
||||
}
|
||||
};
|
||||
});
|
||||
global.stub_out_jquery();
|
||||
|
||||
var people = require("js/people.js");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user