From 9163b17d53dffe66e3c847618aca197d0cc95a45 Mon Sep 17 00:00:00 2001 From: gabriel-logan Date: Thu, 6 Jun 2024 18:36:09 -0300 Subject: [PATCH] test: improving tests --- packages/typescript/README.md | 10 +- packages/typescript/package.json | 2 +- packages/typescript/src/validateUsername.ts | 51 ++++++++ .../typescript/tests/src/isDecimal.test.ts | 118 ++++++++++++++++-- .../typescript/tests/src/validateName.test.ts | 26 ++++ .../tests/src/validatePassword.test.ts | 44 +++++++ .../tests/src/validateSurname.test.ts | 26 ++++ .../tests/src/validateUsername.test.ts | 35 ++++++ 8 files changed, 297 insertions(+), 15 deletions(-) diff --git a/packages/typescript/README.md b/packages/typescript/README.md index 2db02ab..be806e2 100644 --- a/packages/typescript/README.md +++ b/packages/typescript/README.md @@ -17,24 +17,24 @@ Feel free to find bugs and report them to me. Your feedback is highly appreciate jsDelivr: ```bash -https://cdn.jsdelivr.net/npm/multiform-validator@2.1.1/dist/bundle.min.js +https://cdn.jsdelivr.net/npm/multiform-validator@2.1.2/dist/bundle.min.js ``` ```html - + ``` unpkg: ```bash -https://unpkg.com/multiform-validator@2.1.1/dist/bundle.js +https://unpkg.com/multiform-validator@2.1.2/dist/bundle.js ``` ```html - + ``` ### Example of use with CDN ```html - +