Same name in other branches
  1. 6.0.x advagg_js_minify/tests/src/Kernel/Asset/JsMinifierUnitTest.php \Drupal\Tests\advagg_js_minify\Kernel\Asset\JsMinifierUnitTest::setUp()
  2. 8.x-3.x advagg_js_minify/tests/src/Kernel/Asset/JsMinifierUnitTest.php \Drupal\Tests\advagg_js_minify\Kernel\Asset\JsMinifierUnitTest::setUp()
  3. 8.x-4.x advagg_js_minify/tests/src/Kernel/Asset/JsMinifierUnitTest.php \Drupal\Tests\advagg_js_minify\Kernel\Asset\JsMinifierUnitTest::setUp()

File

advagg_js_minify/tests/src/Kernel/Asset/JsMinifierUnitTest.php, line 32

Class

JsMinifierUnitTest
Tests the JS asset minifier.

Namespace

Drupal\Tests\advagg_js_minify\Kernel\Asset

Code

protected function setUp() {
    parent::setUp();
    $this->installConfig('advagg_js_minify');
    $this->optimizer = \Drupal::service('advagg.js_minifier');
}