Add stub_out_jquery() for node tests.

This commit is contained in:
Steve Howell
2016-07-30 11:01:15 -07:00
committed by Tim Abbott
parent 6ce8f3da6d
commit ebe76dd2c3
10 changed files with 23 additions and 45 deletions

View File

@@ -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");