From 794700cc3c0378368320255e978ee3b249a33a48 Mon Sep 17 00:00:00 2001 From: Simon Egersand <s.egersand@gmail.com> Date: Fri, 10 Feb 2017 21:37:39 +0100 Subject: [PATCH] Trigger onBlur with value initally set to null --- tests/testUtils.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tests/testUtils.js b/tests/testUtils.js index eb60052..cfe0d57 100644 --- a/tests/testUtils.js +++ b/tests/testUtils.js @@ -18,6 +18,10 @@ /* * Click Simulations */ + openDatepicker: (datetime) => { + datetime.find('.form-control').simulate('focus'); + }, + clickOnElement: (element) => { return simulateClickOnElement(element); }, -- Gitblit v1.9.3