JavascriptErrorsTest::$modules

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php \Drupal\FunctionalJavascriptTests\JavascriptErrorsTest::modules
  2. 11.x core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php \Drupal\FunctionalJavascriptTests\JavascriptErrorsTest::modules

Type: modules

Overrides BrowserTestBase::$modules

File

core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php, line 24

Class

JavascriptErrorsTest
Tests that Drupal.throwError will cause a test failure.

Namespace

Drupal\FunctionalJavascriptTests

Code

protected static $modules = [
    'js_errors_test',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.