function JavaScriptTest::tearDown

Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

Overrides WebTestBase::tearDown

File

drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php, line 51
Definition of Drupal\system\Tests\Common\JavaScriptTest.

Class

JavaScriptTest
Tests the JavaScript system.

Namespace

Drupal\system\Tests\Common

Code

function tearDown() {

  // Restore configured value for JavaScript preprocessing.
  $config = config('system.performance');
  $config
    ->set('js.preprocess', $this->preprocess_js);
  $config
    ->save();
  parent::tearDown();
}