mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
12 lines
390 B
JavaScript
12 lines
390 B
JavaScript
module.exports = {
|
|
roots: ['<rootDir>/packages'],
|
|
testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
|
|
transform: {
|
|
'^.+\\.(ts|tsx)$': 'ts-jest',
|
|
},
|
|
testEnvironment: 'jsdom',
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
|
|
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
|
|
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
|
|
};
|