mirror of https://github.com/zulip/zulip.git
node tests: Use zrequire in password.js.
This commit is contained in:
parent
65dc6a0975
commit
14631b8748
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue