From afcb432a6589de68c2b8908b86a38f3ec3aa41cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <583546+oandregal@users.noreply.github.com> Date: Wed, 28 Jun 2023 08:52:28 +0200 Subject: [PATCH] Use production env variables in performance tests --- 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: [