You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
557 B
16 lines
557 B
/* eslint-disable import/unambiguous */
|
|
module.exports = {
|
|
coverageDirectory: './jest-coverage/storybook',
|
|
coverageReporters: ['json', 'lcov', 'text', 'clover'],
|
|
// TODO: enable resetMocks
|
|
// resetMocks: true,
|
|
restoreMocks: true,
|
|
setupFiles: ['<rootDir>/test/setup.js', '<rootDir>/test/env.js'],
|
|
setupFilesAfterEnv: ['<rootDir>/test/jest/setup.js'],
|
|
testMatch: ['<rootDir>/ui/**/*stories.test.js'],
|
|
testTimeout: 2500,
|
|
transform: {
|
|
'^.+\\.[tj]sx?$': 'babel-jest',
|
|
'^.+\\.mdx$': '@storybook/addon-docs/jest-transform-mdx',
|
|
},
|
|
};
|
|
|