From 524b5df7231635682053d0c028b0a24189b875ab Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 12 Aug 2021 20:09:35 +0200 Subject: :sparkles: api --- api/src/test/password_test.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 api/src/test/password_test.ts (limited to 'api/src/test/password_test.ts') 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("")); +// // -> -- cgit 1.5.1