You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->assertTrue( $processor->next_tag( 'SCRIPT' ), 'Output should contain a SCRIPT tag.' );
2746
2746
$script_text = $processor->get_modifiable_text();
2747
2747
$this->assertStringContainsString( 'wp-script-module-translation-data-test-module', $script_text, 'Translation inline script should be printed with the expected ID.' );
2748
2748
$this->assertStringContainsString( 'wp.i18n.setLocaleData', $script_text, 'Output should call wp.i18n.setLocaleData().' );
@@ -2801,15 +2801,15 @@ static function ( $relative, $src, $is_module ) use ( &$filtered ) {
$this->assertTrue( $processor->next_tag( 'SCRIPT' ), 'Output should contain a SCRIPT tag.' );
2813
2813
$script_text = $processor->get_modifiable_text();
2814
2814
$this->assertStringContainsString( 'wp-script-module-translation-data-dep-module', $script_text, 'Dependency module translations should be printed.' );
2815
2815
$this->assertStringContainsString( 'Mundo', $script_text, 'Output should contain the dependency translation.' );
@@ -2857,6 +2857,6 @@ static function ( $translations, $file, $handle, $domain ) use ( &$seen_domain )
0 commit comments