resourceloader: Improve mw.loader tests
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 8 Sep 2018 21:44:47 +0000 (22:44 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 8 Sep 2018 22:02:03 +0000 (23:02 +0100)
commit334cf28d26d5cb8b84aa302270663d129b6299b9
tree7a8a57999ef7551ce96e866e5ea86e7a6a0179b1
parent1292e80d4000a1a19beaa19621586938cb630bf0
resourceloader: Improve mw.loader tests

This is in preparation for improving handlePending(). Some of these
tests are only passing by accidental reliance on internal details
that might change (such as the sometimes synchronous execution
of mw.loader.implment).

Change-Id: I8fe5a29ec52bad64b038049e6591dfa38c19852e
tests/qunit/suites/resources/mediawiki/mediawiki.loader.test.js