mediawiki-extensions-Multim.../tests/qunit/mmv/mmv.lightboximage.test.js
Simon Legner de56d4a6de Add position handling to URLs
- Instantiate LightboxImage object in mmv.bootstrap
- Add LightboxImage.position field: relative position of this image to others with same file
- Add optional routing suffix /:position

Bug: T64039
Change-Id: Ic7c5889064492fc88dae33271b635c5327b091e1
2024-05-20 18:36:23 +00:00

10 lines
302 B
JavaScript

const { LightboxImage } = require( 'mmv.bootstrap' );
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' );
} );