function PerformanceTestTrait::doSetUpTasks
Helper for ::setUp().
Resets configuration to be closer to production settings.
See also
\Drupal\Tests\BrowserTestBase::setUp()
1 call to PerformanceTestTrait::doSetUpTasks()
- PerformanceTestBase::setUp in core/tests/ Drupal/ FunctionalJavascriptTests/ PerformanceTestBase.php 
File
- 
              core/tests/ Drupal/ Tests/ PerformanceTestTrait.php, line 35 
Class
- PerformanceTestTrait
- Provides various methods to aid in collecting performance data during tests.
Namespace
Drupal\TestsCode
private function doSetUpTasks() : void {
  \Drupal::configFactory()->getEditable('system.performance')
    ->set('css.preprocess', TRUE)
    ->set('js.preprocess', TRUE)
    ->save();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
