module( 'jquery.tabIndex', QUnit.newMwEnvironment() ); test( '-- Initial check', function() { expect(2); ok( $.fn.firstTabIndex, '$.fn.firstTabIndex defined' ); ok( $.fn.lastTabIndex, '$.fn.lastTabIndex defined' ); }); test( 'firstTabIndex', function() { expect(2); var testEnvironment = '
'; var $testA = $( '