about summary refs log tree commit diff stats
path: root/package.json
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-27 13:35:04 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-27 13:35:04 +0300
commitec2de7ecd2f0288e4d965148b9c6a8c1983333e9 (patch)
tree8dbef820ca9872c616d9486e36d2c07150e1c7c5 /package.json
parent8659f5950c3d794b78ece1fd7677dd3992b6d5b5 (diff)
downloadthe-epube-ec2de7ecd2f0288e4d965148b9c6a8c1983333e9.tar.gz
the-epube-ec2de7ecd2f0288e4d965148b9c6a8c1983333e9.tar.xz
add coverage support
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 08b4f72..4a94593 100644
--- a/package.json
+++ b/package.json
@@ -8,8 +8,8 @@
     "eslint": "npx eslint src",
     "autoload": "composer dump-autoload --optimize",
     "phpstan": "./vendor/bin/phpstan --memory-limit=2G --error-format=raw analyze .",
-    "phpunit": "./vendor/bin/phpunit tests/",
-    "phpunit:integration": "./tests_integration/run.sh"
+    "phpunit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit tests/ --coverage-text",
+    "phpunit:integration": "./tests_integration/run.sh --coverage-text"
   },
   "description": "",
   "devDependencies": {