mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
8f408e2937
npm scripts are run under sh. globstar support is only available in bash > 4 with globstar enabled, so **/*.js was actually being resolved to */*.js only running tests 2 directories deep. This made the test mediawiki.test.js not run since it was moved to the 3rd level deep folder (and actually broke), resulting in: 208 tests 403 passed With this change, it fixes getting the test files, and fixes the mediawiki.test.js, resulting in: 215 tests 413 passed instead. This makes it work everywhere and as nested as it will get for now. Will consider adding glob support to mw-node-qunit later for easier use in other projects too. Bug: T165018 Change-Id: Id0164b2673c8afe8a24fd0eb4aa255c134253862 |
||
---|---|---|
.. | ||
browser | ||
node-qunit | ||
phpunit | ||
.jscsrc.js |