mirror of
https://github.com/valitydev/checkout.git
synced 2024-11-06 02:25:18 +00:00
14 lines
443 B
JavaScript
14 lines
443 B
JavaScript
module.exports = {
|
|
transform: {
|
|
'^.+\\.js?$': 'babel-jest',
|
|
'^.+\\.ts(x)?$': 'ts-jest'
|
|
},
|
|
testMatch: ['<rootDir>/src/**/?(*.)(spec|test).ts?(x)'],
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
moduleNameMapper: {
|
|
'^.+\\.scss$': 'identity-obj-proxy',
|
|
'^checkout/(.*)': '<rootDir>/src/app/$1'
|
|
},
|
|
transformIgnorePatterns: ['<rootDir>/node_modules/(?!lodash-es)']
|
|
};
|