mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
39c15f76f9
Change-Id: I02045047af1f392ae6d6f08e422024b0e9386ccf
13 lines
391 B
JavaScript
13 lines
391 B
JavaScript
QUnit.module( 've.dm.Autocomplete (Math)', ve.test.utils.newMwEnvironment() );
|
|
|
|
QUnit.test( 'Autocomplete list', ( 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' );
|
|
} );
|