lowcode-engine/modules/material-parser/jest.config.js

20 lines
440 B
JavaScript

module.exports = {
transform: {
'^.+\\.(ts|tsx|js|jsx)$': 'ts-jest',
},
testEnvironment: 'node',
// testMatch: ['(/tests?/.*(test))\\.[jt]s$'],
testTimeout: 1000000,
testPathIgnorePatterns: [
'/node_modules/',
'test/fixtures',
],
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts,tsx}',
'!**/node_modules/**',
'!**/vendor/**',
],
};