mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-15 11:59:22 +00:00
5bf1466e7f
* Removed deprecated testCount, which is no longer supported in this way. It's only useful when wanting to explicitly expect 0 assertions (normally considered an error). * Replaced use of testCount = 0, with assert.expect( 0 ). Change-Id: I8fe82032d3af2a1ad2ed7febdb90a95d56dd3fc4
11 lines
297 B
JavaScript
11 lines
297 B
JavaScript
( function ( mw ) {
|
|
QUnit.module( 'mmv.lightboximage', QUnit.newMwEnvironment() );
|
|
|
|
QUnit.test( 'Sanity test, object creation', function ( assert ) {
|
|
var lightboxImage = new mw.mmv.LightboxImage( 'foo.png' );
|
|
|
|
assert.ok( lightboxImage, 'Object created !' );
|
|
} );
|
|
|
|
}( mediaWiki, jQuery ) );
|