diff --git a/prepare.php b/prepare.php index 2948b70..a709c78 100644 --- a/prepare.php +++ b/prepare.php @@ -126,7 +126,7 @@ 'cd ' . escapeshellarg( $WPT_PREPARE_DIR . '/tests/phpunit/data/plugins/' ) . '; unzip wordpress-importer.zip; rm wordpress-importer.zip', // Change directory to the preparation directory, install npm dependencies, and build the project. - 'cd ' . escapeshellarg( $WPT_PREPARE_DIR ) . '; npm install && npm run build' + 'cd ' . escapeshellarg( $WPT_PREPARE_DIR ) . '; npm install -ddd && npm run build -ddd' ) ); @@ -135,7 +135,7 @@ /** * Reads the contents of the WordPress test configuration sample file. - * This file contains template placeholders that need to be replaced with actual values + * This file contains template placeholders that need to be replaced with actual values * from environment variables to configure the WordPress test environment. */ $contents = file_get_contents( $WPT_PREPARE_DIR . '/wp-tests-config-sample.php' ); @@ -146,7 +146,7 @@ * It then collects various pieces of system information including PHP version, loaded PHP modules, * MySQL version, operating system details, and versions of key utilities like cURL and OpenSSL. * This information is collected in an array and written to a JSON file in the log directory. - * Additionally, if running from the command line during a WordPress installation process, + * Additionally, if running from the command line during a WordPress installation process, * it outputs the PHP version and executable path. */ $system_logger = <<