describe("HTMLFormValidations.max", () => {
  describe("when the field's value is not a valid number", () => {
    test("should return false", () => {
      const [form, field] = createAndGetFormAndInput("text", "not-a-number");
      expect(HTMLFormValidations.max(form, field, "5")).toBe(false);