Browse Source

improve frontend test

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
649fbe6350
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      tests/index.html

+ 3
- 1
tests/index.html View File

@@ -17,7 +17,9 @@
}
};
lesspass.generatePassword(login, masterPassword, site, options).then(function (generatedPassword) {
console.log(generatedPassword)
if (generatedPassword === 'azYS7,olOL2]') {
document.body.innerHTML = "generatePassword ok";
}
});
</script>
</body>

Loading…
Cancel
Save