mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
21 lines
525 B
JavaScript
21 lines
525 B
JavaScript
const esModules = ['@recore/obx-react'].join('|');
|
|
|
|
module.exports = {
|
|
// transform: {
|
|
// '^.+\\.[jt]sx?$': 'babel-jest',
|
|
// // '^.+\\.(ts|tsx)$': 'ts-jest',
|
|
// // '^.+\\.(js|jsx)$': 'babel-jest',
|
|
// },
|
|
// testMatch: ['(/tests?/.*(test))\\.[jt]s$'],
|
|
transformIgnorePatterns: [
|
|
`/node_modules/(?!${esModules})/`,
|
|
],
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
|
|
collectCoverage: true,
|
|
collectCoverageFrom: [
|
|
'src/**/*.{ts,tsx}',
|
|
'!**/node_modules/**',
|
|
'!**/vendor/**',
|
|
],
|
|
};
|