storybook/code/jest.config.js

22 lines
645 B
JavaScript
Raw Normal View History

module.exports = {
2022-11-10 14:51:01 -05:00
projects: [
'<rootDir>/addons/*',
'<rootDir>/frameworks/!(angular)*',
2022-11-10 14:51:01 -05:00
'<rootDir>/lib/*',
2022-11-16 12:16:09 -05:00
'<rootDir>/renderers/*',
'<rootDir>/ui/!(node_modules)*',
2022-11-10 14:51:01 -05:00
],
2022-11-16 19:31:55 -05:00
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'],
};