From 1360c156743ecbdd68e609cc340cbf83e293aa6f Mon Sep 17 00:00:00 2001 From: Brody McKee Date: Sat, 29 Sep 2018 15:09:00 +0300 Subject: [PATCH] Update `addon-jest` to new propType Fixes #4251. --- addons/jest/src/register.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/jest/src/register.js b/addons/jest/src/register.js index 7300e64299b6..d126c757e51b 100644 --- a/addons/jest/src/register.js +++ b/addons/jest/src/register.js @@ -7,7 +7,8 @@ import Panel from './components/Panel'; addons.register('storybook/tests', api => { const channel = addons.getChannel(); addons.addPanel('storybook/tests/panel', { - title: , + // eslint-disable-next-line react/prop-types + title: () => , // eslint-disable-next-line react/prop-types render: ({ active }) => , });