UNPKG

safepassword-utils

Version:

A secure and flexible password generation and validation utility for TypeScript/JavaScript applications

11 lines (10 loc) 378 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = require("../index"); describe('Password Length', () => { test('should return correct length', () => { const password = 'TestPassword123!'; const result = (0, index_1.checkPasswordStrength)(password); expect(result.length).toBe(password.length); }); });