diff --git a/.storybook/config.js b/.storybook/config.js index 47e031faf8..6626f5b844 100644 --- a/.storybook/config.js +++ b/.storybook/config.js @@ -71,7 +71,7 @@ addDecorator(withKnobs); // These decorators need to be disabled for StoryShots to work. if (!__TEST__) { - const withTests = require('./util/withTests'); + const withTests = require('./util/withTests').default; addDecorator(withTests); addDecorator(withStoryStyles); }