protected function JsOptimizerUnitTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php \Drupal\Tests\Core\Asset\JsOptimizerUnitTest::setUp()
- 9 core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php \Drupal\Tests\Core\Asset\JsOptimizerUnitTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Asset/ JsOptimizerUnitTest.php, line 25
Class
- JsOptimizerUnitTest
- Tests the JS asset optimizer.
Namespace
Drupal\Tests\Core\AssetCode
protected function setUp() : void {
parent::setUp();
$this->optimizer = new JsOptimizer();
}