// @flow
import initStoryshots from '@storybook/addon-storyshots';
import { axeTest } from '@storybook/addon-storyshots-puppeteer';
import { enableStoryshotsMode } from '../utils/storybook/addons/hyperspeed-animations/enable-storyshots-mode';

initStoryshots({
  suite: 'A11y storyshots',
  test: axeTest({
    storybookUrl: `file://${process.cwd()}/storybook-static`,
    customizePage: enableStoryshotsMode,
  }),
});
