From e07a25066be2b3690e82a110698760e6a96faaea Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Mon, 16 Sep 2024 12:25:21 +0200 Subject: [PATCH] Support gnirehtet and preWarmServer (#4277) * Support gnirehtet adn preWarmServer * fix --- lib/plugins/browsertime/analyzer.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/plugins/browsertime/analyzer.js b/lib/plugins/browsertime/analyzer.js index 4c01688922..047789141c 100644 --- a/lib/plugins/browsertime/analyzer.js +++ b/lib/plugins/browsertime/analyzer.js @@ -64,6 +64,10 @@ async function preWarmServer(urls, options, scriptOrMultiple) { } } + if (options.gnirehtet) { + preWarmOptions.gnirehtet = options.gnirehtet; + } + const engine = new BrowsertimeEngine(preWarmOptions); await engine.start();