summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-22 23:30:22 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-22 23:30:22 +0200
commitce5ed26cadf5f60e2b07d6a355f64d3357bf5397 (patch)
tree97a0dde71ba4824a1c133704be7eb90644335fed /composer.json
parentf77bac1a433469f6fd048655d411f55dd966c89d (diff)
downloadgigologadmin-ce5ed26cadf5f60e2b07d6a355f64d3357bf5397.tar.gz
gigologadmin-ce5ed26cadf5f60e2b07d6a355f64d3357bf5397.tar.bz2
gigologadmin-ce5ed26cadf5f60e2b07d6a355f64d3357bf5397.zip
Fix composer test command.
Since running the bash script on windows was a bit troublesome, make the `composer test` command a first class citizen. Still don't know how to run a specific test case using the composer command, but at least it should be easy to run the full test suite.
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index fb612a3..83619c6 100644
--- a/composer.json
+++ b/composer.json
@@ -17,6 +17,6 @@
"wp-phpunit/wp-phpunit": "^5.7"
},
"scripts": {
- "test": "./run-tests"
+ "test": "npm run wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/giglogadmin/phpunit.xml'"
}
}