mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
More tests (#395)
* Test UtilsService.newGuid * Replace UtilsService.extendObject with Object.assign. * Test getBrowser. * Replace var with const.
This commit is contained in:
committed by
Kyle Spearrin
parent
2b042da237
commit
a45f2c2fd7
@@ -27,7 +27,7 @@ const MaxPasswordsInHistory = 100;
|
||||
export default class PasswordGenerationService {
|
||||
static generatePassword(options: any): string {
|
||||
// overload defaults with given options
|
||||
const o = UtilsService.extendObject({}, DefaultOptions, options);
|
||||
const o = Object.assign({}, DefaultOptions, options);
|
||||
|
||||
// sanitize
|
||||
if (o.uppercase && o.minUppercase < 0) {
|
||||
|
||||
Reference in New Issue
Block a user