mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-12 07:55:11 +00:00
a5e976baee
Change-Id: Ia97b44767e31fe1c2d075e3627c7f7bea0845751
13 lines
392 B
JavaScript
13 lines
392 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.notStrictEqual(
|
|
ve.ui.MWMathDialog.static.autocompleteWordList.indexOf( '\\alpha' ),
|
|
-1,
|
|
'autocomplete contains \\alpha' );
|
|
} );
|