mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Add sb/testing-library as extra sandbox dep for web-components
This commit is contained in:
parent
156d366f91
commit
8b68d28d66
@ -344,7 +344,8 @@ function addExtraDependencies({
|
||||
dryRun: boolean;
|
||||
debug: boolean;
|
||||
}) {
|
||||
const extraDeps = ['@storybook/jest'];
|
||||
// web-components doesn't install '@storybook/testing-library' by default
|
||||
const extraDeps = ['@storybook/jest', '@storybook/testing-library@0.0.14-next.0'];
|
||||
if (debug) console.log('🎁 Adding extra deps', extraDeps);
|
||||
if (!dryRun) {
|
||||
const packageManager = JsPackageManagerFactory.getPackageManager(false, cwd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user