woocommerce/plugins/woocommerce-blocks/tests/js/jest.config.json

20 lines
487 B
JSON

{
"rootDir": "../../",
"collectCoverageFrom": [
"assets/js/**/*.js",
"!**/node_modules/**",
"!**/vendor/**",
"!**/test/**"
],
"moduleDirectories": ["node_modules"],
"setupFiles": [
"<rootDir>/node_modules/@wordpress/jest-preset-default/scripts/setup-globals.js",
"<rootDir>/tests/js/setup-globals"
],
"transformIgnorePatterns": [
"node_modules/(?!(simple-html-tokenizer)/)"
],
"preset": "@wordpress/jest-preset-default",
"verbose": true
}