summary refs log tree commit diff
path: root/api/src/test/password_test.ts
blob: 59d36621ee8f2e53f41a4e4a61a43eb2e7c2811b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { check } from "./../util/passwordStrength";

console.log(check("123456789012345"));
// -> 0.25
console.log(check("ABCDEFGHIJKLMOPQ"));
// -> 0.25
console.log(check("ABC123___...123"));
// ->
console.log(check(""));
// ->
// console.log(check(""));
// // ->