diff --git a/blocks/identity-block/utils/validate-password-pattern.test.js b/blocks/identity-block/utils/validate-password-pattern.test.js index f3f4076a3..420cc5d06 100644 --- a/blocks/identity-block/utils/validate-password-pattern.test.js +++ b/blocks/identity-block/utils/validate-password-pattern.test.js @@ -111,9 +111,9 @@ describe("Validate Password", () => { it("Takes matching special characters", () => { const pattern = new RegExp(validatePasswordPattern(0, 1, 0, 7, 0)); - expect(pattern.test("@$!%*?&")).toBe(true); + expect(pattern.test("@$!%*?&")).toBe(true); expect(pattern.test("---")).toBe(false); expect(pattern.test("---------")).toBe(true); - expect(pattern.test("^^^^^^^^^^^^^^^^^^^^^^^")).toBe(false); + expect(pattern.test("^^^^^^^^^^^^^^^^^^^^^^^")).toBe(true); }); });