Support gnirehtet and preWarmServer (#4277)

* Support gnirehtet adn preWarmServer

* fix
This commit is contained in:
Peter Hedenskog 2024-09-16 12:25:21 +02:00 committed by GitHub
parent be0f00a834
commit e07a25066b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -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();