You are here

public function FormatterTest::setUp in The CodeMirror Editor 8

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/FormatterTest.php, line 27

Class

FormatterTest
Tests the CodeMirror field formatter.

Namespace

Drupal\Tests\codemirror_editor\FunctionalJavascript

Code

public function setUp() {
  parent::setUp();
  $this
    ->createNode([
    'type' => 'test',
    'field_code' => '<b class="bold">Example</b>',
  ]);
}