0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
posthog/test-runner-jest.config.js

14 lines
506 B
JavaScript
Raw Normal View History

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'],
}