mediawiki-skins-Vector/tests
Jan Drewniak a3acacc1a4 Add bundlesize test for ResourceLoader modules.
Adds a bundlesize test that measures the bytesize of
individual ResourceLoader modules.
This test depends on a running mediawiki instance as well as
the $MW_SERVER and $MW_SCRIPT_PATH environment variables.

ResourceLoader modules are fetched from a URL and piped
into a bundlesize command based on a custom configuration file.

The test can be run with `npm run test:size`.

Bug: T244276
Change-Id: I4f4534921ccbc6bd4f99229c8dd36b1279dde640
2020-06-11 19:51:20 +02:00
..
phpunit Reduce distribution of legacy classes 2020-05-26 20:22:08 +00:00
.eslintrc.json Add bundlesize test for ResourceLoader modules. 2020-06-11 19:51:20 +02:00
resource-loader-bundlesize.js Add bundlesize test for ResourceLoader modules. 2020-06-11 19:51:20 +02:00