mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-21 21:44:40 +03:00
fix(token generator test): codeql
This commit is contained in:
1 parent
4e0252c469
commit
62802ff83d
1 file changed
+1
-1
@@ -79,7 +79,7 @@ describe('token-generator', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
expect(token).toHaveLength(256);
|
expect(token).toHaveLength(256);
|
||||||
expect(token).toMatch(/^[.,;:!?./\-"'#{([-|\\@)\]=}*+]+$/);
|
expect(token).toMatch(/^[.,;:!?./\-"'#{([|\\@)\]=}*+]+$/);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should generate a random string with just letters (case incensitive) with withLowercase and withUppercase', () => {
|
it('should generate a random string with just letters (case incensitive) with withLowercase and withUppercase', () => {
|
||||||
|
|||||||
Reference in new issue
Block a user