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

14 lines
360 B
JavaScript
Raw Normal View History

2022-12-12 08:52:17 -05:00
/** @type {import('jest').Config} */
2022-12-11 07:07:21 -05:00
const config = {
transform: {},
2022-12-11 07:07:21 -05:00
coveragePathIgnorePatterns: ['/node_modules/', '/src/__mocks__/'],
coverageReporters: ['text-summary', 'lcov'],
coverageProvider: 'v8',
2022-12-11 07:07:21 -05:00
roots: ['./lib'],
moduleNameMapper: {
'^(chalk|inquirer)$': '<rootDir>/../shared/lib/esm/module-proxy.js',
},
};
export default config;