woocommerce-paypal-payments/tests/js/jest.config.json
2024-06-22 15:37:01 +02:00

17 lines
488 B
JSON

{
"preset": "@wordpress/jest-preset-default",
"rootDir": "../../",
"moduleDirectories": [ "node_modules" ],
"moduleNameMapper": {
"^react$": "<rootDir>/node_modules/react",
"^react-dom$": "<rootDir>/node_modules/react-dom"
},
"testPathIgnorePatterns": [
"<rootDir>/tests/",
"<rootDir>/node_modules/",
"<rootDir>/vendor/"
],
"transform": {
"^.+\\.(js|ts|tsx)$": "<rootDir>/tests/js/jestPreprocess.js"
}
}