diff --git a/composer.json b/composer.json index da09de7..e79400e 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "./vendor/phpunit/phpunit/phpunit --colors=always" ], "test-coverage": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-clover \"$COVERAGE_DIR/php/clover.xml\"", + "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php \"$COVERAGE_DIR/php.cov\"", "pnpm run test-coverage" ], "test-php": [ diff --git a/package.json b/package.json index e65ce6d..e6f9a54 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "validate": "pnpm exec validate-es build/", "watch": "pnpm build && pnpm build-client --watch", "test": "NODE_OPTIONS=--experimental-vm-modules jest", - "test-coverage": "pnpm run test --coverageDirectory=\"$COVERAGE_DIR/js\" --coverage --coverageReporters=clover" + "test-coverage": "pnpm run test --coverage" }, "devDependencies": { "@automattic/calypso-color-schemes": "3.1.3",