0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/integration-tests/jest.config.js

15 lines
435 B
JavaScript
Raw Normal View History

2022-12-12 08:15:09 -05:00
/** @type {import('jest').Config} */
const config = {
transform: {},
2022-12-12 08:15:09 -05:00
testPathIgnorePatterns: ['/node_modules/'],
coverageProvider: 'v8',
setupFilesAfterEnv: ['jest-matcher-specific-error', './jest.setup.js', './jest.setup.api.js'],
2022-12-12 08:15:09 -05:00
roots: ['./lib'],
moduleNameMapper: {
'^#src/(.*)\\.js(x)?$': '<rootDir>/lib/$1',
'^(chalk|inquirer)$': '<rootDir>/../shared/lib/esm/module-proxy.js',
},
};
export default config;