From 378e1ec90668c9b61348ceaa48445ffc1ef14bf3 Mon Sep 17 00:00:00 2001 From: sc0Vu Date: Sun, 18 Mar 2018 21:50:16 +0800 Subject: [PATCH] Fix test script. --- scripts/test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index 6b63d4a..c61064d 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -2,7 +2,9 @@ ganache-cli -g 0 -l 0 > /dev/null & ganachecli_pid=$! -echo "Start ganache-cli pid: $ganachecli_pid" +echo "Start ganache-cli pid: $ganachecli_pid and sleep 3 seconds" + +sleep 3 vendor/bin/phpunit --coverage-clover=coverage.xml