diff --git a/frontend_tests/node_tests/password.js b/frontend_tests/node_tests/password.js index f3d3558829..9e7a22c725 100644 --- a/frontend_tests/node_tests/password.js +++ b/frontend_tests/node_tests/password.js @@ -1,11 +1,8 @@ -add_dependencies({ - zxcvbn: 'node_modules/zxcvbn/dist/zxcvbn.js', -}); +zrequire('zxcvbn', 'node_modules/zxcvbn/dist/zxcvbn'); +zrequire('common'); set_global('i18n', global.stub_i18n); -var common = require("js/common.js"); - (function test_basics() { var accepted; var password;