woocommerce/plugins/woocommerce-blocks/.wp-env.json

36 lines
1.3 KiB
JSON

{
"core": "https://wordpress.org/wordpress-6.7-RC2.zip",
"phpVersion": "7.4",
"plugins": [
"https://github.com/WP-API/Basic-Auth/archive/master.zip",
"https://downloads.wordpress.org/plugin/wordpress-importer.0.8.zip",
"./tests/mocks/woo-test-helper",
"../woocommerce"
],
"env": {
"tests": {
"mappings": {
"wp-cli.yml": "./wp-cli.yml",
"wp-content/mu-plugins": "./node_modules/@wordpress/e2e-tests/mu-plugins",
"wp-content/plugins/gutenberg-test-plugins": "./node_modules/@wordpress/e2e-tests/plugins",
"wp-content/plugins/woocommerce-blocks-test-plugins": "./tests/e2e/plugins",
"wp-content/plugins/woocommerce/blocks-bin": "./bin",
"wp-content/plugins/woocommerce/blocks-bin/playwright": "./tests/e2e/bin",
"wp-content/themes": "./tests/e2e/themes",
"wp-content/themes/storefront": "https://downloads.wordpress.org/theme/storefront.latest-stable.zip",
"wp-content/themes/twentytwentyfour": "https://downloads.wordpress.org/theme/twentytwentyfour.latest-stable.zip"
}
}
},
"config": {
"JETPACK_AUTOLOAD_DEV": true,
"SCRIPT_DEBUG": false,
"WP_TESTS_DOMAIN": "http://localhost:8889",
"WP_TESTS_EMAIL": "admin@example.org",
"WP_TESTS_TITLE": "Test Blog",
"WP_PHP_BINARY": "php",
"WP_TESTS_DIR": "./tests/php",
"WP_PHPUNIT__TESTS_CONFIG": "./vendor/wp-phpunit/wp-phpunit/wp-tests-config.php"
}
}