mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 08:13:38 +00:00
Merge "Fix qunit tests"
This commit is contained in:
commit
ee70866a6a
|
@ -59,7 +59,11 @@
|
|||
bootstrap.ensureEventHandlersAreSetUp = function () {};
|
||||
|
||||
bootstrap.getViewer = function () {
|
||||
return viewer || { initWithThumbs: function () {}, hash: function () {} };
|
||||
return viewer || {
|
||||
initWithThumbs: function () {},
|
||||
hash: function () {},
|
||||
router: { checkRoute: function () {} }
|
||||
};
|
||||
};
|
||||
|
||||
return bootstrap;
|
||||
|
|
|
@ -135,6 +135,7 @@
|
|||
animateMetadataOnce: function () {}
|
||||
},
|
||||
progressBar: {
|
||||
hide: this.sandbox.stub(),
|
||||
animateTo: this.sandbox.stub(),
|
||||
jumpTo: this.sandbox.stub()
|
||||
}
|
||||
|
@ -428,6 +429,7 @@
|
|||
animateMetadataOnce: function () {}
|
||||
},
|
||||
progressBar: {
|
||||
hide: this.sandbox.stub(),
|
||||
animateTo: this.sandbox.stub(),
|
||||
jumpTo: this.sandbox.stub()
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue