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

14 lines
404 B
JavaScript

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