fix: test

This commit is contained in:
Ibrahima G. Coulibaly
2025-07-14 19:21:47 +01:00
parent 2cb49f044a
commit 01e07154a6

View File

@@ -110,7 +110,7 @@ describe('generatePassword', () => {
includeSymbols: true
};
const result = generatePassword(options);
expect(result).toMatch(/^[!@#$%^&*()_+~`|}{[\]:;?><,./-=]+$/);
expect(result).toMatch(/^[!@#$%^&*()_+~`|}{[\]:;?><,./\-=]+$/);
expect(result).toHaveLength(30);
});