diff --git a/tests/phpunit/integration/GadgetResourceLoaderModuleTest.php b/tests/phpunit/integration/GadgetResourceLoaderModuleTest.php index dc31ad9d..9c5003f5 100644 --- a/tests/phpunit/integration/GadgetResourceLoaderModuleTest.php +++ b/tests/phpunit/integration/GadgetResourceLoaderModuleTest.php @@ -50,8 +50,7 @@ class GadgetResourceLoaderModuleTest extends MediaWikiIntegrationTestCase { public static function provideValidateScript() { yield 'valid ES5' => [ true, '[ResourceLoader]', 'var quux = function() {};' ]; - // TODO: T75714 - // yield 'valid ES6' => [ true, '[ResourceLoader]', 'let quux = (() => {})();' ]; + yield 'valid ES6' => [ true, '[ResourceLoader]', 'let quux = (() => {})();' ]; yield 'invalid' => [ false, '[ResourceLoader]', 'boom quux = <3;' ]; yield 'requiresES6 allows ES5' => [ true, '[ResourceLoader|requiresES6]', 'var quux = function() {};' ];