2022-11-21 16:48:33 +08:00
|
|
|
import type { Config } from '@silverhand/jest-config';
|
|
|
|
import { merge } from '@silverhand/jest-config';
|
|
|
|
|
|
|
|
const config: Config.InitialOptions = merge({
|
|
|
|
moduleNameMapper: {
|
|
|
|
'^(\\.{1,2}/.*)\\.js$': '$1',
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
export default config;
|