mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 00:46:45 +01:00
1c2d74fe8b
* Update UI snapshots with comment instead of failing on change * Make a few stories more reliable * Remove unused snapshots in CI * Update query snapshots * Update `webkit` UI snapshots * Update `chromium` UI snapshots * Update `firefox` UI snapshots * Shard visual regression tests * Update UI snapshots for `chromium` (1) * Update UI snapshots for `webkit` (2) * Fix remaining issues * Update UI snapshots for `chromium` (1) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (1) * Update UI snapshots for `chromium` (1) * Improve reliability of insights snapshots * Update UI snapshots for `chromium` (1) * Update UI snapshots for `chromium` (2) * Improve reliability of login/signup snapshots * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (1) * Update .github/workflows/storybook-chromatic.yml Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com> --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
14 lines
506 B
JavaScript
14 lines
506 B
JavaScript
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'],
|
|
}
|