mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-18 10:30:51 +00:00
94d6b81d2f
Depends-On: Ib20c1f5277c5d5a99f5117c82b7cbdeab75d3279 Change-Id: Id551b4c8ae3a857f1318d4b7f5e5518c889bc9d2
13 lines
397 B
JavaScript
13 lines
397 B
JavaScript
QUnit.module( 've.dm.Autocomplete (Math)', ve.test.utils.newMwEnvironment() );
|
|
|
|
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' );
|
|
} );
|