Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
7 files
+ 60
458
Compare changes
  • Side-by-side
  • Inline
Files
7
  • fece49c3
    Issue #3254726 by longwave, mondrake: Remove SimpleTest support from... · fece49c3
    catch authored
    Issue #3254726 by longwave, mondrake: Remove SimpleTest support from run-tests.sh, TestDiscovery and TestRunnerKernel
@@ -2,7 +2,6 @@
namespace Drupal\Core\Test\RunTests;
use Drupal\simpletest\TestBase;
use PHPUnit\Framework\TestCase;
/**
@@ -24,7 +23,7 @@ class TestFileParser {
public function getTestListFromFile($file) {
$test_list = $this->parseContents(file_get_contents($file));
return array_filter($test_list, function ($class) {
return (is_subclass_of($class, TestCase::class) || is_subclass_of($class, TestBase::class));
return is_subclass_of($class, TestCase::class);
});
}
Loading