mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
14 lines
435 B
JavaScript
14 lines
435 B
JavaScript
/** @type {import('jest').Config} */
|
|
const config = {
|
|
transform: {},
|
|
testPathIgnorePatterns: ['/node_modules/'],
|
|
coverageProvider: 'v8',
|
|
setupFilesAfterEnv: ['jest-matcher-specific-error', './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;
|