From 7fc5c7125d0d8b2c1f33a8bdd9ce4ab96e9dfcac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <583546+oandregal@users.noreply.github.com> Date: Thu, 29 Jun 2023 13:59:33 +0200 Subject: [PATCH] Performance tests: configure as a production environment (#52016) --- bin/plugin/commands/performance.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/plugin/commands/performance.js b/bin/plugin/commands/performance.js index 95e74c851c1d6..1acf6eb6a64f9 100644 --- a/bin/plugin/commands/performance.js +++ b/bin/plugin/commands/performance.js @@ -330,6 +330,10 @@ async function runPerformanceTests( branches, options ) { path.join( environmentDirectory, '.wp-env.json' ), JSON.stringify( { + config: { + WP_DEBUG: false, + SCRIPT_DEBUG: false, + }, core: 'WordPress/WordPress', plugins: [ path.join( environmentDirectory, 'plugin' ) ], themes: [