nocobase/jest.config.js
2020-12-02 13:23:09 +08:00

14 lines
323 B
JavaScript

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