mediawiki-extensions-Multim.../tests/qunit/mmv/mmv.lightboximage.test.js
TheDJ 24ee9dc48d Revert "Revert "Add position handling to URLs""
This reverts commit 5b89420182.

Reason for revert: restore previously reverted patch

Bug: T64039
Change-Id: Iac4486ae785f308d2a572f383073cfb73c7cb523
2024-05-21 19:09:16 +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' );
} );