mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
607 B
607 B
// Replace your-renderer with the renderer you are using (e.g., react, vue3)
import { Preview } from '@storybook/your-renderer';
const preview: Preview = {
// ...
parameters: {
// 👇 Fail all accessibility tests when violations are found
a11y: { test: 'error' },
},
};
export default preview;
export default {
// ...
parameters: {
// 👇 Fail all accessibility tests when violations are found
a11y: { test: 'error' },
},
};