storybook/code/jest.config.js
2022-11-16 19:31:55 -05:00

22 lines
630 B
JavaScript

module.exports = {
projects: [
'<rootDir>/addons/*',
'<rootDir>/frameworks/!(angular)*',
'<rootDir>/lib/*',
'<rootDir>/renderers/*',
'<rootDir>/ui/*',
],
collectCoverage: false,
collectCoverageFrom: [
'frameworks/*/src/**/*.{js,jsx,ts,tsx}',
'lib/*/src/**/*.{js,jsx,ts,tsx}',
'renderers/*/src/**/*.{js,jsx,ts,tsx}',
'addons/*/src/**/*.{js,jsx,ts,tsx}',
'ui/*/src/**/*.{js,jsx,ts,tsx}',
],
coverageDirectory: 'coverage',
coverageReporters: ['lcov'],
reporters: ['default', 'jest-junit'],
watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'],
};