mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
17 lines
488 B
JSON
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"
|
|
}
|
|
}
|