From ce5ed26cadf5f60e2b07d6a355f64d3357bf5397 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 22 Apr 2021 23:30:22 +0200 Subject: 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. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'composer.json') 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'" } } -- cgit v1.2.3