mirror of https://github.com/zulip/zulip.git
node tests: Use zrequire in drafts.js.
This commit is contained in:
parent
15e21f0cd1
commit
f6f227d089
|
@ -1,11 +1,9 @@
|
|||
zrequire('localstorage');
|
||||
zrequire('drafts');
|
||||
|
||||
set_global('$', global.make_zjquery());
|
||||
set_global('window', {});
|
||||
|
||||
add_dependencies({
|
||||
localstorage: 'js/localstorage',
|
||||
drafts: 'js/drafts',
|
||||
});
|
||||
|
||||
var ls_container = {};
|
||||
set_global('localStorage', {
|
||||
getItem: function (key) {
|
||||
|
|
Loading…
Reference in New Issue