mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
16 lines
490 B
TypeScript
16 lines
490 B
TypeScript
import type { Config } from '@silverhand/jest-config';
|
|
import { merge } from '@silverhand/jest-config';
|
|
|
|
const config: Config.InitialOptions = {
|
|
...merge({
|
|
// Will update common config soon
|
|
transformIgnorePatterns: ['node_modules/(?!(.*(nanoid|jose|ky|@logto))/)'],
|
|
moduleNameMapper: {
|
|
'^(\\.{1,2}/.*)\\.js$': '$1',
|
|
},
|
|
}),
|
|
// Will update common config soon
|
|
transformIgnorePatterns: ['node_modules/(?!(.*(nanoid|jose|ky|@logto))/)'],
|
|
};
|
|
|
|
export default config;
|