From c2055feebc289d71044422f02d2bd159d67b3355 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Wed, 26 Mar 2025 15:01:02 +0100 Subject: [PATCH] always include a11y addon --- scripts/tasks/sandbox.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/tasks/sandbox.ts b/scripts/tasks/sandbox.ts index 465d75b54a3..12026d345fa 100644 --- a/scripts/tasks/sandbox.ts +++ b/scripts/tasks/sandbox.ts @@ -79,6 +79,8 @@ export const sandbox: Task = { const shouldAddVitestIntegration = !details.template.skipTasks?.includes('vitest-integration'); + options.addon.push('@storybook/addon-a11y'); + if (shouldAddVitestIntegration) { extraDeps.push('happy-dom', 'vitest', 'playwright', '@vitest/browser'); @@ -94,7 +96,7 @@ export const sandbox: Task = { // extraDeps.push('@testing-library/angular', '@analogjs/vitest-angular'); // } - options.addon = [...options.addon, '@storybook/addon-test', '@storybook/addon-a11y']; + options.addon.push('@storybook/addon-test'); } let startTime = now();