mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2025-01-19 01:45:43 +00:00
be9d701825
Add a first test to check that the testing framework is functional. Bug: T288074 Change-Id: If4a6d14f14d7b964db31781b3caf23eb383c06c1
13 lines
386 B
JavaScript
13 lines
386 B
JavaScript
QUnit.module( 've.dm.Autocomplete (Math)', ve.test.utils.mwEnvironment );
|
|
|
|
QUnit.test( 'Autocomplete list', function ( assert ) {
|
|
assert.notStrictEqual(
|
|
ve.ui.MWMathDialog.static.autocompleteWordList,
|
|
undefined,
|
|
'autocomplete list exists' );
|
|
assert.notEqual(
|
|
ve.ui.MWMathDialog.static.autocompleteWordList.indexOf( '\\alpha' ),
|
|
-1,
|
|
'autocomplete contains \\alpha' );
|
|
} );
|