Skip to content

Commit 822218c

Browse files
authored
Fix a11y-tests breaking with omitAppProvider removal (#6759)
1 parent b8c2045 commit 822218c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

polaris-react/.storybook/polaris-readme-loader.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ module.exports = function loader(source) {
2929
readme.name,
3030
);
3131

32-
const omitAppProvider = ['Frame', 'AppProvider', 'CustomProperties'].includes(
33-
readme.name,
34-
);
32+
const omitAppProvider = [
33+
'Frame',
34+
'App provider',
35+
'Custom properties',
36+
].includes(readme.name);
3537

3638
const csfExports = readme.examples.map((example) => {
3739
return `

0 commit comments

Comments
 (0)