core/modules/big_pipe/src/Tests/BigPipeTest.php | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/core/modules/big_pipe/src/Tests/BigPipeTest.php b/core/modules/big_pipe/src/Tests/BigPipeTest.php
index b30d27b..65b9f0f 100644
--- a/core/modules/big_pipe/src/Tests/BigPipeTest.php
+++ b/core/modules/big_pipe/src/Tests/BigPipeTest.php
@@ -7,6 +7,7 @@
namespace Drupal\big_pipe\Tests;
+use Drupal\big_pipe\Render\Placeholder\BigPipeStrategy;
use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\Html;
use Drupal\Core\Url;
@@ -78,20 +79,25 @@ protected function performMetaRefresh() {
* - \Drupal\big_pipe\Controller\BigPipeController
*/
public function testNoJsDetection() {
+ $no_js_to_js_markup = '';
+
// 1. No session (anonymous).
$this->drupalGet(Url::fromRoute(''));
$this->assertSessionCookieExists(FALSE);
$this->assertBigPipeNoJsCookieExists(FALSE);
$this->assertNoRaw('');
+ $this->assertNoRaw($no_js_to_js_markup);
$this->assertBigPipeNoJsMetaRefreshRedirect();
$this->assertBigPipeNoJsCookieExists(TRUE);
$this->assertNoRaw('');
+ $this->assertNoRaw($no_js_to_js_markup);
$this->assertBigPipeNoJsMetaRefreshRedirect();
$this->assertBigPipeNoJsCookieExists(TRUE);
$this->assertNoRaw('