You are here

public static property CriticalCssHeadTest::$modules in Critical CSS 8

Modules to enable.

The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.

Type: string[]

Overrides BrowserTestBase::$modules

See also

\Drupal\Tests\BrowserTestBase::installDrupal()

File

tests/src/Functional/CriticalCssHeadTest.php, line 24

Class

CriticalCssHeadTest
Tests Critical CSS functionality on HTML HEAD.

Namespace

Drupal\Tests\critical_css\Functional

Code

public static $modules = [
  'node',
  'critical_css',
];