Skip to content

Commit 6262f62

Browse files
chore: improving code coverage to 100% branches (#1624)
* Improving code coverage to 100% branches * Improving code coverage for isStrongPassword
1 parent deb1d1e commit 6262f62

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/lib/isLicensePlate.js

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/isStrongPassword.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ function analyzePassword(password) {
4949
symbolCount: 0,
5050
};
5151
Object.keys(charMap).forEach((char) => {
52+
/* istanbul ignore else */
5253
if (upperCaseRegex.test(char)) {
5354
analysis.uppercaseCount += charMap[char];
5455
} else if (lowerCaseRegex.test(char)) {

0 commit comments

Comments
 (0)