Skip to content

Commit 6b4178c

Browse files
committed
fix: storybook test-runner Refs: KEH-281
1 parent 7d3b473 commit 6b4178c

2 files changed

Lines changed: 4 additions & 14 deletions

File tree

.storybook/preview.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export const parameters = {
1818
viewport: {
1919
options: INITIAL_VIEWPORTS,
2020
},
21+
a11y: {
22+
// 'error' causes a11y violations to fail tests in the test runner
23+
test: 'error',
24+
},
2125
};
2226

2327
// Initialize MSW

.storybook/test-runner.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)