From fc8996444096c2a8d67a15cc5487923709ca71bb Mon Sep 17 00:00:00 2001 From: Gpx Date: Tue, 25 Sep 2018 09:17:19 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20click()=20handles=20check?= =?UTF-8?q?boxes=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issues: #14 --- __tests__/click.js | 28 ++++++++++++++++++++++++++++ package.json | 7 ++++++- src/index.js | 2 -- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/__tests__/click.js b/__tests__/click.js index 95dcea7b..fb0c634c 100644 --- a/__tests__/click.js +++ b/__tests__/click.js @@ -193,4 +193,32 @@ describe("fireEvent.click", () => { expect(getByTestId("input")).toHaveFocus(); } ); + + it('checks when clicking a