summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-04 09:55:06 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-04 09:55:06 +0100
commit14ba698369402ead68f8ad3efdb8ef5b1627dce2 (patch)
treec668b5d54b6744ef89ab0df11c45e0ea778eb607 /src/test
parent:art: typo (diff)
parentinvite interface (diff)
downloadserver-14ba698369402ead68f8ad3efdb8ef5b1627dce2.tar.xz
Merge branch 'master' of https://github.com/discord-open-source/discord-server
Diffstat (limited to 'src/test')
-rw-r--r--src/test/password_test.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/password_test.ts b/src/test/password_test.ts
new file mode 100644

index 00000000..59d36621 --- /dev/null +++ b/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("")); +// // ->