node tests: Use zrequire in password.js.

This commit is contained in:
Steve Howell 2017-11-08 09:30:12 -08:00 committed by Tim Abbott
parent 65dc6a0975
commit 14631b8748
1 changed files with 2 additions and 5 deletions

View File

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