summary refs log tree commit diff
path: root/api/src/test/password_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/test/password_test.ts')
-rw-r--r--api/src/test/password_test.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/src/test/password_test.ts b/api/src/test/password_test.ts
new file mode 100644

index 00000000..59d36621 --- /dev/null +++ b/api/src/test/password_test.ts
@@ -0,0 +1,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("")); +// // ->