storybook/code/jest.config.js
2023-01-15 22:44:58 +11:00

22 lines
645 B
JavaScript

module.exports = {
projects: [
'<rootDir>/addons/*',
'<rootDir>/frameworks/!(angular)*',
'<rootDir>/lib/*',
'<rootDir>/renderers/*',
'<rootDir>/ui/!(node_modules)*',
],
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'],
};