文件
OmniCard/backend/jest.config.js

12 行
386 B
JavaScript

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['<rootDir>/test/**/*.test.ts'],
testPathIgnorePatterns: ['<rootDir>/test/fixtures'],
coveragePathIgnorePatterns: ['<rootDir>/test/'],
moduleFileExtensions: ['ts', 'uts', 'js', 'json'],
transform: {
'^.+\\.ts$': 'ts-jest',
'^.+\\.uts$': '<rootDir>/test/mpuniapp/uts-transformer.js',
},
};