mediawiki-extensions-Multim.../tests/qunit/mmv/mmv.lightboximage.test.js
Timo Tijhof 5bf1466e7f Remove use of QUnit.test(, testCount, )
* 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
2017-07-26 00:12:06 +00:00

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 ) );