nocobase2/jest.config.js
2021-01-26 22:44:21 +08:00

14 lines
331 B
JavaScript

const path = require('path');
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
setupFilesAfterEnv: [path.resolve(__dirname, 'dotenv.js')],
testMatch: [
// '**/__tests__/**/*.[jt]s?(x)',
'**/?(*.)+(spec|test).[jt]s?(x)'
],
modulePathIgnorePatterns: [
"<rootDir>/packages/father-build/"
],
};