Skip to content

Commit

Permalink
add correct link to portable stories docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed May 2, 2024
1 parent e4d1b06 commit 8a22135
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ export function composeStory<TRenderer extends Renderer = Renderer, TArgs extend
console.warn(
dedent`Some stories were not cleaned up before rendering '${humanReadableIdentifier}'.
You should load the story with \`await Story.load()\` before rendering it.
See XYZ for more information.`
See https://storybook.js.org/docs/api/portable-stories-${
process.env.JEST_WORKER_ID !== undefined ? 'jest' : 'vitest'
}#3-load for more information.`
);
}
return story.unboundStoryFn(prepareContext(context));
Expand Down

0 comments on commit 8a22135

Please sign in to comment.