const { getJestConfig } = require('@storybook/test-runner') module.exports = { // The default configuration comes from @storybook/test-runner ...getJestConfig(), /** Add your own overrides below * @see https://jestjs.io/docs/configuration */ forceExit: true, // Remove obsolete snapshots in CI // See https://github.com/americanexpress/jest-image-snapshot#removing-outdated-snapshots reporters: ['default', 'jest-image-snapshot/src/outdated-snapshot-reporter.js'], }