a template starter repo for sveltekit projects
425 B
21 lines
1import type { Preview } from '@storybook/sveltekit'
2
3const preview: Preview = {
4 parameters: {
5 controls: {
6 matchers: {
7 color: /(background|color)$/i,
8 date: /Date$/i,
9 },
10 },
11
12 a11y: {
13 // 'todo' - show a11y violations in the test UI only
14 // 'error' - fail CI on a11y violations
15 // 'off' - skip a11y checks entirely
16 test: 'todo'
17 }
18 },
19};
20
21export default preview;