Fix phpunit path after the repo renaming (https://github.com/woocommerce/woocommerce-blocks/pull/6421)
* Fix phpunit path after the repo renaming * Use the current folder name to run phpunit tests
This commit is contained in:
parent
622f873c80
commit
89a553a8a7
|
@ -74,7 +74,7 @@
|
|||
"test:help": "wp-scripts test-unit-js --help",
|
||||
"pretest:php": "npm run wp-env run composer 'install --no-interaction'",
|
||||
"test:performance": "npm run wp-env:config && cross-env NODE_CONFIG_DIR=tests/e2e/config wp-scripts test-e2e --config tests/e2e/config/jest.performance.config.js -- performance",
|
||||
"test:php": "npm run wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/woocommerce-gutenberg-products-block/phpunit.xml.dist'",
|
||||
"test:php": "npm run wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist'",
|
||||
"test:update": "wp-scripts test-unit-js --updateSnapshot --config tests/js/jest.config.json",
|
||||
"test:watch": "npm run test -- --watch",
|
||||
"ts:check": "tsc --build",
|
||||
|
|
Loading…
Reference in New Issue