diff --git a/frontend_tests/node_tests/drafts.js b/frontend_tests/node_tests/drafts.js index 539ee47552..bdd4dfd1b4 100644 --- a/frontend_tests/node_tests/drafts.js +++ b/frontend_tests/node_tests/drafts.js @@ -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) {