describe("when the field's value does not match the pattern", () => {
    test("should return false", () => {
      const regex = "[0-9]{2,4}[a-z]+";
      const [form, field] = createAndGetFormAndInput("text", "not a match");
      expect(HTMLFormValidations.pattern(form, field, regex)).toBe(false);