Skip to content

Fix indeterministic password test case #10

@tafaust

Description

@tafaust

https://github.com/tahesse/policy-password/blob/main/test/password.test.ts#L95-L104

is not deterministic and can cause the CI pipeline to fail.
Suggested solution:

Add a boolean flag to circumvent this issue and provide users of this library to prevent uni-letter passwords.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions