mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-03 20:26:25 +00:00
5b89420182
This reverts commit de56d4a6de
.
Reason for revert: breaks resize handler. Lets revert before branch cut.
Change-Id: I1e4d57d8384ab434f17968100f8bea1bf90c40ff
10 lines
292 B
JavaScript
10 lines
292 B
JavaScript
const { LightboxImage } = require( 'mmv' );
|
|
|
|
QUnit.module( 'mmv.lightboximage', QUnit.newMwEnvironment() );
|
|
|
|
QUnit.test( 'Sense test', function ( assert ) {
|
|
const lightboxImage = new LightboxImage( 'foo.png' );
|
|
|
|
assert.true( lightboxImage instanceof LightboxImage, 'Object created' );
|
|
} );
|