diff --git a/code/lib/cli/src/generators/baseGenerator.ts b/code/lib/cli/src/generators/baseGenerator.ts index 67cf9d7dec7..5a9f48b201d 100644 --- a/code/lib/cli/src/generators/baseGenerator.ts +++ b/code/lib/cli/src/generators/baseGenerator.ts @@ -176,7 +176,10 @@ export async function baseGenerator( if (hasInteractiveStories(rendererId)) { addons.push('@storybook/addon-interactions'); - addonPackages.push('@storybook/addon-interactions', '@storybook/testing-library'); + addonPackages.push( + '@storybook/addon-interactions', + '@storybook/testing-library@^0.0.14-next.1' + ); } const files = await fse.readdir(process.cwd());