From 49af3243f791eaead8e2c55cff5ea9b11b39db59 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 28 May 2024 01:48:54 +0800 Subject: [PATCH] Merge pull request #27379 from storybookjs/shilman/tweak-composition-tags Tags: Refine composition behavior (cherry picked from commit 85964088256be53e773b660a52d39f45249cdc15) --- code/lib/manager-api/src/lib/stories.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/manager-api/src/lib/stories.ts b/code/lib/manager-api/src/lib/stories.ts index b409754bb106..db8cc4c1efb3 100644 --- a/code/lib/manager-api/src/lib/stories.ts +++ b/code/lib/manager-api/src/lib/stories.ts @@ -153,7 +153,7 @@ export const transformStoryIndexV4toV5 = ( (acc, entry) => { acc[entry.id] = { ...entry, - tags: entry.tags ? [...entry.tags, 'dev'] : ['dev'], + tags: entry.tags ? ['dev', 'test', ...entry.tags] : ['dev'], }; return acc;