nx/packages/storybook/jest.config.js
Martin Hochel 08e4ee29fa
fix(storybook): properly resolve stories when linting (#3455)
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2020-08-24 16:33:22 +02:00

12 lines
269 B
JavaScript

module.exports = {
name: 'storybook',
preset: '../../jest.config.js',
transform: {
'^.+\\.[tj]sx?$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'],
globals: {
'ts-jest': { tsConfig: '<rootDir>/tsconfig.spec.json' },
},
};