20 lines
474 B
JavaScript

import { configure, addParameters, addDecorator } from '@storybook/ember';
import { withA11y } from '@storybook/addon-a11y';
addDecorator(withA11y);
addParameters({
options: {
hierarchySeparator: /\/|\./,
hierarchyRootSeparator: /\|/,
},
});
function loadStories() {
require('../stories/index.stories');
const req = require.context('../stories', true, /\.stories\.js$/);
req.keys().forEach(filename => req(filename));
}
configure(loadStories, module);