mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Small text adjustments
This commit is contained in:
parent
a1506f373d
commit
4283a92c00
@ -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`)}
|
||||
|
@ -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"
|
||||
`;
|
||||
|
@ -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')}
|
||||
`);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user