mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
22 lines
630 B
JavaScript
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'],
|
|
};
|