/* eslint-disable import/unambiguous */ module.exports = { coverageDirectory: './jest-coverage/storybook', coverageReporters: ['json', 'lcov', 'text', 'clover'], // TODO: enable resetMocks // resetMocks: true, restoreMocks: true, setupFiles: ['/test/setup.js', '/test/env.js'], setupFilesAfterEnv: ['/test/jest/setup.js'], testMatch: ['/ui/**/*stories.test.js'], testTimeout: 2500, transform: { '^.+\\.[tj]sx?$': 'babel-jest', '^.+\\.mdx$': '@storybook/addon-docs/jest-transform-mdx', }, };