Small text adjustments

This commit is contained in:
Valentin Palkovic 2025-01-02 10:03:12 +01:00
parent a1506f373d
commit 4283a92c00
3 changed files with 9 additions and 9 deletions

View File

@ -350,7 +350,7 @@ export default async function postInstall(options: PostinstallOptions) {
printError(
'🚨 Oh no!',
dedent`
We have detected that you have ${addonA11yName} installed but could not automatically set it up for @storybook/experimental-addon-test/vitest-plugin.
We have detected that you have ${addonA11yName} installed but could not automatically set it up for @storybook/experimental-addon-test.
Please refer to the documentation to complete the setup manually:
${picocolors.cyan(`https://storybook.js.org/docs/writing-tests/accessibility-testing#test-addon-integration`)}

View File

@ -15,8 +15,8 @@ export default {
+ tags: ["a11ytest"],
}
For more information, please refer to the addon test documentation:
https://storybook.js.org/docs/writing-tests/addon-test"
For more information, please refer to the accessibility addon documentation:
https://storybook.js.org/docs/writing-tests/accessibility-testing#test-addon-integration"
`;
exports[`addonA11yAddonTest > prompt > should return auto prompt if transformedSetupCode is null and if transformedPreviewCode is defined 1`] = `
@ -39,8 +39,8 @@ beforeAll(annotations.beforeAll);
2) We have to update your .storybook/vitest.setup.js to set up tags from @storybook/addon-a11y.
For more information, please refer to the addon test documentation:
https://storybook.js.org/docs/writing-tests/addon-test"
For more information, please refer to the accessibility addon documentation:
https://storybook.js.org/docs/writing-tests/accessibility-testing#test-addon-integration"
`;
exports[`addonA11yAddonTest > prompt > should return manual prompt if transformedSetupCode is null and if transformedPreviewCode is null 1`] = `
@ -69,6 +69,6 @@ export default {
+ tags: ["a11ytest"],
}
For more information, please refer to the addon test documentation:
https://storybook.js.org/docs/writing-tests/addon-test"
For more information, please refer to the accessibility addon documentation:
https://storybook.js.org/docs/writing-tests/accessibility-testing#test-addon-integration"
`;

View File

@ -178,8 +178,8 @@ export const addonA11yAddonTest: Fix<AddonA11yAddonTestOptions> = {
if (transformedPreviewCode === null || transformedSetupCode === null) {
prompt.push(dedent`
For more information, please refer to the addon test documentation:
${picocolors.cyan('https://storybook.js.org/docs/writing-tests/addon-test')}
For more information, please refer to the accessibility addon documentation:
${picocolors.cyan('https://storybook.js.org/docs/writing-tests/accessibility-testing#test-addon-integration')}
`);
}