import React from "react"; import { mount } from "enzyme"; import InputBlock from "."; import Button from "../button"; describe("", () => { it("renders without error", () => { const mask = [/\d/, /\d/, "/", /\d/, /\d/, "/", /\d/, /\d/, /\d/, /\d/]; const wrapper = mount( alert(event.target.value)} onChange={(event) => alert(event.target.value)} >