mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-23 04:02:50 +00:00
18c3b0a87a
* eslint-config-wikimedia: 0.28.0 → 0.28.2 * grunt-stylelint: 0.20.0 → 0.20.1 * stylelint-config-wikimedia: 0.17.1 → 0.17.2 Change-Id: I798f739b5b2f12e5c6eedc88ecac557de28be129
13 lines
312 B
JavaScript
13 lines
312 B
JavaScript
QUnit.revisionSlider = {};
|
|
|
|
Object.assign( QUnit.revisionSlider, {
|
|
// Helper function to add conditions to QUnit skip methods.
|
|
testOrSkip: function ( name, testCallback, skipCondition ) {
|
|
if ( skipCondition ) {
|
|
QUnit.skip( name, testCallback );
|
|
} else {
|
|
QUnit.test( name, testCallback );
|
|
}
|
|
}
|
|
} );
|