23 lines
555 B
JSON
23 lines
555 B
JSON
{
|
|
"rootDir": "../../",
|
|
"collectCoverageFrom": [
|
|
"client/**/*.js",
|
|
"!**/node_modules/**",
|
|
"!**/vendor/**",
|
|
"!**/test/**"
|
|
],
|
|
"moduleDirectories": ["node_modules", "<rootDir>/client"],
|
|
"moduleNameMapper": {
|
|
"tinymce": "<rootDir>/tests/js/mocks/tinymce"
|
|
},
|
|
"setupFiles": [
|
|
"<rootDir>/node_modules/@wordpress/jest-preset-default/scripts/setup-globals.js",
|
|
"<rootDir>/tests/js/setup-globals"
|
|
],
|
|
"preset": "@wordpress/jest-preset-default",
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/"
|
|
],
|
|
"verbose": true
|
|
}
|