From 716b15a853c75d4dbec6bcf1a67d598b2afcd7c3 Mon Sep 17 00:00:00 2001 From: John Godley Date: Thu, 13 Sep 2018 13:45:17 +0100 Subject: [PATCH] Fix onBlur unit test --- packages/editor/src/components/block-list/test/block-html.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/editor/src/components/block-list/test/block-html.js b/packages/editor/src/components/block-list/test/block-html.js index 442e55de3f5bba..3b7eca43feedb8 100644 --- a/packages/editor/src/components/block-list/test/block-html.js +++ b/packages/editor/src/components/block-list/test/block-html.js @@ -2,6 +2,7 @@ * External dependencies */ import { shallow } from 'enzyme'; +import { noop } from 'lodash'; /** * WordPress dependencies @@ -79,7 +80,7 @@ describe( 'BlockHTML', () => { content: 'test-block', isValid: true, } ); - const wrapper = shallow( ); + const wrapper = shallow( ); wrapper.instance().onChange( { target: { value: '

update' } } ); wrapper.instance().onBlur();