mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-11 18:42:56 +00:00
28 lines
648 B
JavaScript
28 lines
648 B
JavaScript
const esModules = [
|
|
'@recore/obx-react',
|
|
// '@ali/lowcode-editor-core',
|
|
].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: false,
|
|
collectCoverageFrom: [
|
|
'src/**/*.{ts,tsx}',
|
|
'!src/**/*.d.ts',
|
|
'!src/base/**',
|
|
'!src/fields/**',
|
|
'!src/prop.ts',
|
|
'!**/node_modules/**',
|
|
'!**/vendor/**',
|
|
],
|
|
};
|