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' ); } );